我正在尝试将SharePoint 2007网站集功能移植到2010。在功能激活期间,SharePoint显示“黄屏死机”,指出“此应用程序的当前自定义错误设置阻止查看应用程序错误的详细信息。” 。
AFAIK我已经配置了查看错误所需的一切:
在c:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config
我已经设置
<system.web>
<customErrors mode="Off" />
<compilation debug="true" />
<SharePoint>
<SafeMode CallStack="true" />
(为简洁起见,省略了其他属性/标签)
这足以使SharePoint 2007显示完整的堆栈跟踪。我是否缺少2010年的东西?
最佳答案
跑到这个。必须在14 Root中修改web.config才能启用它:在<customErrors mode="Off" />
文件中设置C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\web.config
。
关于sharepoint - 如何在SharePoint 2010中看到异常调用堆栈?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3616652/