如何查看 SharePoint 2010 中的异常调用堆栈? [英] How can I see the exception call stack in SharePoint 2010?

查看:18
本文介绍了如何查看 SharePoint 2010 中的异常调用堆栈?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 SharePoint 2007 网站集功能移植到 2010.在功能激活期间,SharePoint 显示死亡黄屏",说明此应用程序的当前自定义错误设置阻止了应用程序错误的详细信息看过.".

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 我已经配置了查看错误所需的一切:在 c:inetpubwwwrootwssVirtualDirectories80web.config 我已经设置了

AFAIK I have configured everything that is need to see the error: in c:inetpubwwwrootwssVirtualDirectories80web.config I have set

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

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

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

(other attributes/tags ommited for brevity)

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

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

推荐答案

也遇到了这个问题.必须在 14 Root 中修改 web.config 才能启用它:在文件 C:Program FilesCommon FilesMicrosoft SharedWeb 中设置 <customErrors mode="Off"/>服务器扩展14TEMPLATELAYOUTSweb.config .

Ran into this as well. Had to modify web.config in 14 Root to enable it: set <customErrors mode="Off" /> in file C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATELAYOUTSweb.config .

这篇关于如何查看 SharePoint 2010 中的异常调用堆栈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆