Monday, September 2, 2013

Server Error in ‘/’ Application. Runtime Error in SharePoint 2010

Whenever you will get this runtime error (Server Error in ‘/’ Application), you need do following changes in web.config file

1. Web Application web.config

Open C:\inetpub\wwwroot\wss\virtualdirectories\<port>” and modify the web.config file

a. In customErrors tag set mode="Off" to "On
b. In SafeMode tag set CallStack="true" to false
c. In Compilation tag Debug="false" to true

2.SharePoint web.config (Need to modify if above changes won't work)
Open SharePoint (2010) root directory or 14 hive – C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS and 
modify the web.config file

a. In customErrors tag set mode="Off" to "On
b. In SafeMode tag set CallStack="true" to false
c. In Compilation tag Debug="false" to true

3 comments:

Unknown said...

This web page is very informative because i followed the given steps to fix runtime errorof share point database. thanks to providing such informative and well solutions.

Unknown said...

When i will get Application runtime error then i think first how to fix runtime errors. Then i have tried some tools to fix it but i have not get the exact tool.

Unknown said...

Did you try the steps mentioned in this blog?