Asp.net Sharepoint集成报表在aspx页面上呈现报表时出错
我正在尝试在aspx页面上呈现sharepoint集成报告。代码如下:Asp.net Sharepoint集成报表在aspx页面上呈现报表时出错,asp.net,sharepoint,reporting-services,Asp.net,Sharepoint,Reporting Services,我正在尝试在aspx页面上呈现sharepoint集成报告。代码如下: ReportViewer1.ServerReport.ReportServerUrl = new Uri(" http://<sharepointServer>/sites/"); ReportViewer1.ServerReport.ReportPath = "http://<SharepointServer>/sites/<app>/<reportlist>/Reportn
ReportViewer1.ServerReport.ReportServerUrl = new Uri(" http://<sharepointServer>/sites/");
ReportViewer1.ServerReport.ReportPath = "http://<SharepointServer>/sites/<app>/<reportlist>/Reportname.rdl";
有什么想法吗?虽然有点晚了,但下面的解决方案对我很有效- SharePoint集成模式需要注意的几点:
虽然有点晚了,但下面的解决方案对我有效- SharePoint集成模式需要注意的几点:
An exception of type 'Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.MissingEndpointException' occurred in Microsoft.ReportViewer.WebForms.dll but was not handled in user code
Additional information: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://{sharepointServer}/sites/{app}/_vti_bin/ReportServer");
ReportViewer1.ServerReport.ReportPath = "http://{sharepointServer}/sites/{app}/{reportlist}/Reportname.rdl";