在asp.net中集成.rdl [英] Integrating .rdl in asp.net
问题描述
我从aspx页面调用.rdl报告。下面是代码 - :
MyReportViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
MyReportViewer.ShowCredentialPrompts = true;
MyReportViewer.ServerReport.ReportServerUrl = new Uri(@http:// ingsdfsdfgfd / Reports);
MyReportViewer.ServerReport.ReportPath =ReportName;
MyReportViewer.ShowParameterPrompts = true;
MyReportViewer.ShowPrintButton = true;
MyReportViewer.ServerReport.Refresh();
< br $> b $ b
错误 i get - :
尝试 connect 报告 服务器 失败。 检查 您的 连接 信息 和 报告 服务器 a 兼容 版本。
客户端 找到 response 内容 类型 的'文本/ HTML; charset = utf-8',但是 期望'text / xml'。 请求 失败 with error 消息: - 错误 - 报告 经理
权限 已授予 user 'IIS APPPOOL\ASP。 NET v4 。 0 Classic' 执行 此 操作
请 建议
请参考以下链接:
1. AppPool权限问题访问报表服务器
2. 授予用户的权限'不足以执行此操作。 (rsAccessDenied)}
I am calling .rdl report from aspx page. Below is the code-:
MyReportViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
MyReportViewer.ShowCredentialPrompts = true;
MyReportViewer.ServerReport.ReportServerUrl = new Uri(@"http://ingsdfsdfgfd/Reports");
MyReportViewer.ServerReport.ReportPath = "ReportName";
MyReportViewer.ShowParameterPrompts = true;
MyReportViewer.ShowPrintButton = true;
MyReportViewer.ServerReport.Refresh();
Below is the error i get-:
The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- Error - Report Manager
The permissions granted to user 'IIS APPPOOL\ASP.NET v4.0 Classic' are insufficient for performing this operation
Please Advise
Please refer this links :
1. AppPool Permission Issue with Accessing Report Server
2. The permissions granted to user ' are insufficient for performing this operation. (rsAccessDenied)"}
这篇关于在asp.net中集成.rdl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!