如何在SharePoint 2010中查看异常调用堆栈?

sko*_*ima 9 sharepoint callstack web-config sharepoint-2010

我正在尝试将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" />
Run Code Online (Sandbox Code Playgroud)

(为简洁起见,省略了其他属性/标签)

这足以让SharePoint 2007显示完整的堆栈跟踪.我错过了2010年的一些东西吗?

Sha*_*ane 13

也进入这个.必须修改14 Root中的web.config才能启用它:<customErrors mode="Off" />在文件中设置C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\web.config.