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



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;


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



Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s