Question : cannot connect to configuraiton Database

HI All,

 i am not able to open any site under IIS..
i am getting the "cannot connect to configuraiton Database" error.
Please help me to resolve this..

Answer : cannot connect to configuraiton Database

EXEC sp_resetstatus 'ContentDBname'
ALTER DATABASE ContentDBname SET EMERGENCY
DBCC checkdb('ContentDBname')
ALTER DATABASE ContentDBname SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DBCC CheckDB ('ContentDBname', REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE ContentDBname SET MULTI_USER



i executed the above commands and it worked for me
Random Solutions  
 
programming4us programming4us