将.rdl集成到asp.net中 [英] Integrating .rdl into asp.net

查看:133
本文介绍了将.rdl集成到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();





以下是我得到的错误 - :



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.
The request failed with HTTP status 404: Not Found.









请告知





Please Advise

推荐答案

check这个



在asp.net页面中调用.rdl报告 [ ^ ]
check this

Calling .rdl report in asp.net page[^]


这篇关于将.rdl集成到asp.net中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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