Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can't display error messages with customErrors=Off in SharePoint 2010

I changed the following web.config:

1- VirtualDirectory\80\web.config
2- 14\TEMPLATE\LAYOUTS\web.config
3- 14\TEMPLATE\ADMIN\web.config
4- 14\CONFIG\web.config

CallStack="True", Debug="True" and customErrors="Off"

on all the 4 web.config files but still I can't display the detailed error message

I only get this: server error in "/" application runtime error

and some instruction on how to display the detailed error message.

I need your help.

like image 981
MAlshehri Avatar asked May 07 '13 08:05

MAlshehri


2 Answers

According to this link Sharepoint 2010 Server Error '/' in Application , you have to change the web.config of central administration too , then iisreset , please let me know if it works .

like image 94
Mahmoud Farahat Avatar answered Oct 04 '22 05:10

Mahmoud Farahat


This post help me out on SharePoint 2013. It explains step by step how to enable custom errors Enable Debugging and set custom errors off in SharePoint.

Three key areas that the post mention are:

  1. Turn on the call stack (CallStack="true")

  2. Disable custom errors ()

  3. Enable debugging ()

on the locations given on the article.

like image 42
Ricardo Huertas Avatar answered Oct 04 '22 04:10

Ricardo Huertas