SQL Server Management Studio is the most important and powerful tool of Microsoft SQL Server, included in MS SQL Server 2005 and later file versions. It is used to configure, manage and administer all of the SQL Server components.

This tool includes both graphical tools and script editors that work with the objects and features on server. A vital feature of the SQL Server Management Studio is Object Explorer that allows you to select, browse and work upon any of the server object.

While SQL Server Management Studio or SSMS is an extremely important tool for SQL Server, but sometimes when you open SQL Server Management Studio and try to connect with the local database, you may fail to do it. Here you may also receive the following error message:

“Database ‘msdb’ cannot be opened. It has been marked suspect”

After this error message, when you see the SQL Server application event log, you will find the following entry:

“The log scan number (152:284:1) passed to log scan in database ‘msdb’ is not valid. This error may indicate data corruption or that the log file (.ldf) does not match the data file (.mdf). If this error occurred during replication, re-create the publication. Otherwise, restore from backup if the problem results in a failure during startup.”

Grounds of the issue

As stated in the error message, this problem occurs if the database has become suspected. It could be either due to corruption in the database or the log file does not match with the database file.

After the error message, you won’t be able to access anything from your database and may fall in grave situations. Thus, you need to fix the problem as soon as possible to gain access of your valuable data.

Resolution

To handle the database suspect state, Microsoft has provided an inbuilt tool with MS SQL Server, known as sp_resetstatus. It can change the database status and thus could make it accessible again.

But in this case, it won’t be able to fix your problem. It will only let you connect to the SQL Server instances and will let you access other databases. In this case, the data from MSDB won’t be accessed and thus you will have to perform SQL recovery on it.

SQL recovery comes as the last resort to fix all of the MDF corruption related troubles. You can perform SQL repair using MDF recovery software. MDF recovery software are very easy to use and allow you to have Do It Yourself MDF repair.

Stellar Phoenix SQL Database Recovery software is the ultimate solution of all your corruption related troubles. This robust SQL recovery software can achieve MDF recovery for all of the SQL Server objects. You can use this SQL repair software with SQL Server 2000 and 2005 and can end up at absolute MDF repair.