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
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