我在asp.net页面中嵌入了SQL Server报告。但是我对我的代码感到困惑:
reportViewerSam.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
reportViewerSam.ServerReport.ReportServerUrl = new Uri("http://DontKnowWhatToAddHere/ReportServer");//http://+:80/ReportServer
reportViewerSam.ServerReport.ReportPath = @"D:\TP\TestProject\Movies";
reportViewerSam.ServerReport.Refresh();
我不确定要向reportServerUrl
提供什么。当我打开rsreportserver.config
文件时,我有以下网址:
<Application>
<Name>ReportManager</Name>
<VirtualDirectory>Reports_FA</VirtualDirectory>
<URLs>
<URL>
<UrlString>http://+:80</UrlString>
<AccountSid>S-1-5-80-1142752433-3704371676-891461080-4200684315-3208225222</AccountSid>
<AccountName>NT Service\ReportServer$FA</AccountName>
</URL>
</URLs>
</Application>
我需要知道我应该向reportserverurl