Follow in Twitter & Facebook



Like in Facebook

Powered By Blogger Widgets

Free Download

FREE Tools



Monday, February 6, 2012

Cannot connect to the configuration database in SharePoint 2010

[Solved] I got this error while opening SharePoint 2010 central administration. The error message is "Cannot connect to the configuration database".

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Microsoft.SharePoint.WebPartPages.WebPartPageUserException: Cannot connect to the configuration database.

Source Error: 
An unhandled exception was generated during the execution of the current web request.

Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Cause and Solution:
The reason might be that your SQL Server service might be stoped.
So Open the Services (start -> run -> services.msc click on enter, this will open services list)
From there check the service name as SQL Server (MSSQLSERVER). Right click that and click on Start or Restart. Once started successfully open your central administration, it will work fine. It should be in started state as shown in the figure below.




0 on: "Cannot connect to the configuration database in SharePoint 2010"