Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 new database problem

Author  Topic 

desikankannan
Posting Yak Master

152 Posts

Posted - 2010-08-09 : 02:19:59
Hi,
i try to create a new database in sql2005 but it throws the below error
TITLE: Microsoft SQL Server Management Studio
------------------------------

Create failed for Database 'tescoms'. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.4035.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Database&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Database 'msdb' cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server errorlog for more information. (Microsoft SQL Server, Error: 926)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.3042&EvtSrc=MSSQLServer&EvtID=926&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------
looking forward your valuable suggestions

Desikankannan

Kristen
Test

22859 Posts

Posted - 2010-08-09 : 02:33:24
"Database 'msdb' cannot be opened. It has been marked SUSPECT by recovery."

If you had just rebooted, and MSDB is large, maybe it is still starting up.

Otherwise it is damaged and most probably needs to be restored (not sure if you can run DBCC CHECKDB on a Suspect database, but if you can that would give you more information about any damage to that database.

If MSDB is huge it may be because the backup history is not being cleared down (this doesn't happen routinely unless you set up a task to do it).
Go to Top of Page

desikankannan
Posting Yak Master

152 Posts

Posted - 2010-08-09 : 03:10:09
Hi,
i don't no how to run dbcc checkdb
pls guide me looking forward your reply

quote:
Originally posted by Kristen

"Database 'msdb' cannot be opened. It has been marked SUSPECT by recovery."

If you had just rebooted, and MSDB is large, maybe it is still starting up.

Otherwise it is damaged and most probably needs to be restored (not sure if you can run DBCC CHECKDB on a Suspect database, but if you can that would give you more information about any damage to that database.

If MSDB is huge it may be because the backup history is not being cleared down (this doesn't happen routinely unless you set up a task to do it).



Desikankannan
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2010-08-09 : 04:06:20
http://msdn.microsoft.com/en-us/library/ms176064.aspx
Go to Top of Page
   

- Advertisement -