SharePoint 2013 run time error: Server Error in ‘/’ Application

There can be more than one reason to get this error page..  It can be anything to the services which are not running, IIS failures etc. It is always recommended to review the logs in windows to find possible errors.

ERROR 01 : Recover SharePoint 2013 Databases from Suspect Mode

Check Event Viewer for error logs (In this case SharePoint_Config database cannot be opened)

SharePoint 2013 [10]-2016-12-14-05-42-17.png

Go to SQL Server Management Studio and find the SharePoint_Config database..

sharepoint-2013-10-2016-12-14-05-39-59sharepoint-2013-10-2016-12-14-05-45-20

If SharePoint_Config database is in suspect mode.. and not accessible.. do the following

SOLUTION 01

Use sp_resetstatus command to turn off suspect flag on the database

EXEC sp_resetstatus ‘SharePoint_Config’;

sharepoint-2013-10-2016-12-14-05-55-38

set the database to an Emergency mode

ALTER DATABASE SharePoint_Config SET EMERGENCY

sharepoint-2013-10-2016-12-14-05-56-39

Check the logical and physical integrity of the objects in the database

DBCC checkdb(‘SharePoint_Config’)

sharepoint-2013-10-2016-12-14-05-57-51

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

DBCC CheckDB (‘SharePoint_Config’)

sharepoint-2013-10-2016-12-14-05-58-17

Things should go back to normal after this fix…

ERROR 02 – Application pool is not running

SharePoint 2013 [10]-2016-12-14-10-59-42.png

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s