Cannot display error messages with customErrors = Off in SharePoint 2010

I changed the following web.config file:

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" 

for all 4 web.config files, but still I can not display a detailed error message

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

and some instructions for displaying a detailed error message.

I need your help.

+4
source share
2 answers

According to this link Sharepoint 2010 server error '/' in the application , you must change the central administration web.config , then iisreset , please let me know if this works.

+4
source

This post will help me in SharePoint 2013. It explains step by step how to enable custom errors. Enable debugging and fix custom errors in SharePoint .

Three key areas in which posts are mentioned:

  • Enable the call stack (CallStack = "true")

  • Disable user errors ()

  • Enable debugging ()

in the places indicated in the article.

+1
source

Source: https://habr.com/ru/post/1479492/


All Articles