如何查看SharePoint未知错误的详细信息

在sharepoint 开发的时候,需要查看具体的sharepoint报错信息需要在配置文件中配置如下

通过下面方法就可以直接在出错页面查看错误信息。修改Web应用程序根目录上的Web.config文件中的两个地方:
一、MaxControls="200" CallStack="false"   改为  MaxControls="200" CallStack="true"
二、customErrors mode="On"  改为  customErrors mode="Off"

sharepoint默认的 会话状态是false,但是ReportViewer必须开启会话。需要在页面上启动EnableSessionState="true"

配置元数据(sharepoint托管元数据)

http://blog.csdn.net/anotherlilei/article/details/5635857

原文地址:https://www.cnblogs.com/boydg123/p/3198752.html