SharePoint 2013 设置 显示详细错误信息 修改位置总结

以80端口为例——

1.修改:C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config文件配置

CallStack="false" 修改为 CallStack="true";

customErrors mode="On" 修改为 customErrors mode="Off";

debug="false" 修改为 debug="true";

2.修改:C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\web.config文件配置

customErrors mode="On" 修改为 customErrors mode="Off";

3.修改:C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\CONFIG\web.config文件配置

customErrors mode="On" 修改为 customErrors mode="Off";

4.修改:C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\ADMIN\web.config文件配置

customErrors mode="On" 修改为 customErrors mode="Off";

5.修改:C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\web.config文件配置

customErrors mode="On" 修改为 customErrors mode="Off";

 

 

注意:一般情况下,只需要修改C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config即可;

        修改之前,记得做备份;

posted @   lishidefengchen  阅读(202)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示