让SharePoint站点输出详细错误信息[转]
1)找到SharePoint网站对应的web.config文件,其位于如下的目录(X为系统盘盘符,nnnn为网站端口号):X:/Inetpub/wwwroot/wss/VirtualDirectories/nnnn/
(2)在web.config文件中搜索如下内容:






然后将CallStack
和AllowPageLevelTrace
的属性设置为“true
”。
(3)在web.config文件中搜索如下内容:


将其改为:
<
customErrors
mode
="Off"
/>
作者:深潭
出处:http://www.cnblogs.com/dbasys/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
出处:http://www.cnblogs.com/dbasys/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。