SharePoint 2013 关闭 customErrors

在SharePoint 2013上做开发时,如果不把customErrors 关掉,那调试起来那真叫一个费劲。在2013里,关闭customErrors 和2010一样,只要把文件路径改成15目录下即可。下面的具体步骤:

1. 修改Web app的web.config (C:inetpubwwwrootwssVirtualDirectories<port>)

  • Debug=”true” 
  • CallStack=”true”
  • CustomErrors=”Off”

2. 修改 C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions15TEMPLATELAYOUTSweb.config

CustomErrors=”Off”

3. 修改 C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions15TEMPLATEADMINweb.config

CustomErrors=”Off”

原文地址:https://www.cnblogs.com/ITHelper/p/3399260.html