将.rdl集成到asp.net中 [英] Integrating .rdl into 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屋!