Cannot Connect to the Configuration Database !

Last week when  i was trying to access my  SharePoint Portal , all  it showed me was "Cannot  Connect to Configuration Database"  . I   then  checked each and everything related to the configuration of the SharePoint stuff , then  found out that  the  Database "SharePoint_Config"  was in  SUSPECT mode . Now for solving this kinda issue , just run this script in your  SQL Server Management Studio .


EXEC sp_resetstatus ‘SharePoint_Config’

ALTER DATABASE SharePoint_Config SET EMERGENCY

DBCC checkdb(‘SharePoint_Config’)

ALTER DATABASE SharePoint_Config SET SINGLE_USER WITH ROLLBACK IMMEDIATE

DBCC CheckDB (‘SharePoint_Config’, REPAIR_ALLOW_DATA_LOSS)

ALTER DATABASE SharePoint_Config SET MULTI_USER

 

 

Hope  this helps !


Tags: , , , , , , , , , ,
Categories: MOSS 2007

15 Comments
Actions: E-mail | Permalink | Comment RSSRSS comment feed

 


© Copyright 2009. www.onlineasp.net All Rights Reserved.