MAlshehri
MAlshehri

Reputation: 323

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.

Upvotes: 5

Views: 6289

Answers (3)

ziadb86
ziadb86

Reputation: 1

Three Locations:

  1. inetpub\wwwroot\wss\Virtual directories folder[Central Admin PortNo]\web.config.

  2. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\ADMIN\web.config.

  3. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\Layouts\web.config

Upvotes: 0

Ricardo Huertas
Ricardo Huertas

Reputation: 1306

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.

Upvotes: 1

Mahmoud Farahat
Mahmoud Farahat

Reputation: 5485

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 .

Upvotes: 5

Related Questions