sharepoint 2013 设置 显示详细错误信息
2015-06-02 09:48
357 查看
1. 在当前网站端口目录下的Web.config修改
例如80端口的站点路径为:C:\inetpub\wwwroot\wss\VirtualDirectories\80
(1)将<customErrors mode="On" /> 修改成 <customErrors mode="Off" />
(2)将<SafeMode MaxControls="200" CallStack="false" 修改成 <SafeMode MaxControls="200" CallStack="true"
(3)将<compilation batch="false" debug="false ">改为; <compilation batch="false" debug="true ">
2.在“Layouts位置(SharePoint发布页面)”的路径下的Web.config修改
具体位置:C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
(1)将<customErrors mode="On" /> 修改成 <customErrors mode="Off" />
转自 http://www.cnblogs.com/zuike/p/3782477.html
例如80端口的站点路径为:C:\inetpub\wwwroot\wss\VirtualDirectories\80
(1)将<customErrors mode="On" /> 修改成 <customErrors mode="Off" />
(2)将<SafeMode MaxControls="200" CallStack="false" 修改成 <SafeMode MaxControls="200" CallStack="true"
(3)将<compilation batch="false" debug="false ">改为; <compilation batch="false" debug="true ">
2.在“Layouts位置(SharePoint发布页面)”的路径下的Web.config修改
具体位置:C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
(1)将<customErrors mode="On" /> 修改成 <customErrors mode="Off" />
转自 http://www.cnblogs.com/zuike/p/3782477.html
相关文章推荐
- BZOJ2705 [SDOI2012]Longge的问题(欧拉函数)
- eclipse项目文件上的红色感叹号
- 奔五的人学iOS:用swift实现获取拼音首字母,支持取一句话中每字拼音首字母
- Oracle中merge into的使用
- 性能调优:理解Set Statistics IO输出
- 携程网 404页水波浪
- 最大的回文子串
- NYOJ 19 擅长排列的小明
- CentOS6.4 安装配置iptables
- 工厂方法--创建型模式(Factory method)
- 避免TableViewCell重叠的问题
- Effective C++ 条款38
- Remove Duplicates from Sorted List II
- 木瓜妮子多媒体开发教程---第四天---Android下图像空间滤波
- MySQL分页查询
- Djanjo学习____Pagination
- 在线阅读android源代码
- Microsoft.Office.Interop.Excel的用法以及利用Microsoft.Office.Interop.Excel将web页面转成PDF
- pg_dump的导出参数(PostgreSQL)
- Mysql 求连续范围和间断范围