View actual error in SharePoint without ‘something went wrong’ (Enable debug mode in SharePoint)

Go to your SharePoint web.config file and open it with admin privileges in a text editor.

<local file location>\inetpub\wwwroot\wss\VirtualDirectories\<SharePoint Web App>\web.config

Eg.

C:\inetpub\wwwroot\wss\VirtualDirectories\8888\web.config

Make your compilation debug mode true

Make your Call stack true.

 

CustomErrors mode to off

 

Finally you will be able to view the actual error without customizing it in debug mode;

Note:

It’s better if you keep a backup on above file before make any change.

 

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