SharePoint2013使用ReportViewer控件(原)
来源:互联网 发布:软件开发工程师培训班 编辑:程序博客网 时间:2024/06/13 09:54
-------------------编写人:Lidan-------------------
前面有写过SharePoint2010中使用ReportViewer的,现把SharePoint2013中使用的配置也写一下,能供大家参考
(1) 在<handlers></handlers>结点中添加如下内容(须添加在结点下第一行)
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
(2) 在<httpHandlers></httpHandlers>结点中添加如下内容(须添加在结点下第一行)
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
(3) 在<modules runAllManagedModulesForAllRequests=”true”>结点下,注释
<remove name=”Session” />
(5) 在<pages enableSessionState=”false” enableViewState=”true” …/>修改为
<pages enableSessionState=”true” enableViewState=”true” …/>
(6) 在<appSettings></appSettings>结点中注释
<add key="ReportViewerMessages" value="Microsoft.SharePoint.Portal.Analytics.UI.ReportViewerMessages, Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
-------------------------------另:如果遇到此错误-------------------------------
Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom sessionstate store in 'Custom' mode.
解决方案:
将<sessionState mode="SQLServer" timeout="60" allowCustomSqlDatabase="true" sqlConnectionString=.../>
修改为<sessionState mode="InProc" timeout="60" allowCustomSqlDatabase="true" sqlConnectionString=.../>
- SharePoint2013使用ReportViewer控件(原)
- 使用ASP.NET 2.0中的ReportViewer控件
- 使用ASP.NET 2.0中的ReportViewer控件
- 使用ASP.NET 2.0中的ReportViewer控件
- 使用ASP.NET 2.0中的ReportViewer控件
- 使用ASP.NET 2.0中的ReportViewer控件
- C#报表控件ReportViewer的使用
- 如何设置分页符(ReportViewer 控件)
- ReportViewer 使用
- 使用“ReportViewer 控件 (Visual Studio)”,抛弃水晶报表(crystal report)
- [翻译]使用ASP.NET 2.0中的ReportViewer控件
- [翻译]使用ASP.NET 2.0中的ReportViewer控件
- MOSS2007自定义aspx页面中使用ReportViewer控件
- ASP.NET服务器控件使用之Reportviewer 报表
- C#报表控件ReportViewer
- ReportViewer 矩阵控件
- 使用Jquery 操作 sharepoint2013文档库(增删改查)
- SharePoint2013预览(一)
- MAC eclipse SVN 安装路径
- haproxy 安装
- ios 开发 flurry 资料
- MySQL之alter语句用法总结
- Ubuntu下查看CPU温度风扇转速和硬盘温度
- SharePoint2013使用ReportViewer控件(原)
- Android Robotium的几个小tips
- 迷惑解答之typedef函数指针
- 重构36计
- 编程之美2.10寻找数组中的最大值和最小值代码
- oracle启动参数文件全部丢失 没有备份 简单三步正常启动数据库
- Ubuntu下配置samba服务器
- oracle安装
- 看来中国对知识产权的保护还是做得不够——腾迅你可能要无敌了