在asp.net中集成.rdl [英] Integrating .rdl in asp.net

查看:156
本文介绍了在asp.net中集成.rdl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从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屋!

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