Sharepoint 2010 显示详细错误

该站点下的配置文件里面修改以下节点(C:\inetpub\wwwroot\wss\VirtualDirectories\站点端口号\web.config)

 

1.<SafeMode MaxControls="200" CallStack="false"
DirectFileDependencies="10" TotalFileDependencies="50"
AllowPageLevelTrace="false">
改为:
<SafeMode MaxControls="200"
CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50"
AllowPageLevelTrace="false">

 

2.<customErrors mode="On " /> 改为:<customErrors mode="Off " />

 

3.<compilation batch="false" debug="false ">改为; <compilation
batch="false" debug="true ">

 

修改后就会把错误源显示出来,总比报"未知错误"好吧!

Sharepoint 2010 显示详细错误_第1张图片
Sharepoint 2010 显示详细错误_第2张图片



你可能感兴趣的:(SharePoint)