Sharepoint 2010 显示详细错误

参考网址:

http://winsystem.ctocio.com.cn/95/11765095.shtml

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

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

callstack改为true

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

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

这个好象没啥用

补充:

如果是网站应用程序还需要修改

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS 下的配置文件

80下的这个也要修改,否则度去sp中数据时会提示安全异常

 <trust level="Full" originUrl="" />

  

原文地址:https://www.cnblogs.com/sportdog/p/2744625.html