How can I see the exception call stack in SharePoint 2010?

落花浮王杯 提交于 2020-01-01 02:42:06

问题


I am trying to port a SharePoint 2007 site collection feature to 2010. During the feature activation, SharePoint shows the "yellow screen of death" stating "The current custom error settings for this application prevent the details of the application error from being viewed.".

AFAIK I have configured everything that is need to see the error: in c:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config I have set

<system.web>
  <customErrors mode="Off" />
  <compilation debug="true" />

<SharePoint>
  <SafeMode CallStack="true" />

(other attributes/tags ommited for brevity)

This was enough for SharePoint 2007 to display the full stack trace. Am I missing something for 2010?


回答1:


Ran into this as well. Had to modify web.config in 14 Root to enable it: set <customErrors mode="Off" /> in file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\web.config .



来源:https://stackoverflow.com/questions/3616652/how-can-i-see-the-exception-call-stack-in-sharepoint-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!