We help IT Professionals succeed at work.

Cannot connect to the configuration database in SharePoint 2007.

Minesh Shah
Minesh Shah asked
Hi, due to some internal requirement system team changed my sharePoint server IP address and the server host name and after that none of the SharePoint site is opening even Central Admin site is also not opening. I tried to open with new host name and with new IP address but not opening giving messages “Cannot connect to the configuration database”.
While SQL Management studio is opening with new host name.
Kindly help what should I do?
Watch Question

Sr. System Engineer
Top Expert 2012
That wasn't very smart now was it?

Is SQL running on the same machine that was changed, or a different one?

Couple of things you could do, depending on your answer above.  You could create a SQL Alias with the name of your old server name, and point it to the new server name (http://todd-carter.com/post/2010/12/03/Done28099t-Tell-SharePoint-The-Name-of-Your-SQL-Server.aspx).  Or you can run an STSADM command to update the name of your server (http://technet.microsoft.com/en-us/library/cc263117(office.12).aspx)  
Minesh ShahSharePoint & all about it


Thanks it's working.