Asp.net ReportViewer中的SSRS导出返回401个未经授权的

Asp.net ReportViewer中的SSRS导出返回401个未经授权的,asp.net,reporting-services,ssrs-2008,reportviewer,reportviewer2008,Asp.net,Reporting Services,Ssrs 2008,Reportviewer,Reportviewer2008,我的ASP.NET应用程序和SSRS报告位于不同的服务器上。我可以向ReportViewer控件显示报告 但是,当我尝试导出报告时,它会重定向到一个页面,并显示以下错误 远程服务器返回错误:(401)未经授权 这是分配ReportViewer的代码 ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote; ReportViewer1.ServerReport.ReportSe

我的ASP.NET应用程序和SSRS报告位于不同的服务器上。我可以向ReportViewer控件显示报告

但是,当我尝试导出报告时,它会重定向到一个页面,并显示以下错误

远程服务器返回错误:(401)未经授权

这是分配ReportViewer的代码

   ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
   ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://rpt-srv-01/ReportServer");
   ReportViewer1.ServerReport.ReportPath = "/MyReports/Quotes_Invoices/ClientInvoicePrint";
   ReportViewer1.ServerReport.Refresh();

我想应该是这样的

 ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
   ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://rpt-srv-01/ReportServer");
   ReportViewer1.ServerReport.ReportPath = "http://rpt-srv-01/ReportServer/MyReports/Quotes_Invoices/ClientInvoicePrint";
   ReportViewer1.ServerReport.Refresh();

这是行不通的。我的问题有问题。Reserved.ReportViewerWebControl.axd实际上位于application server下。这似乎是授权问题。不过,我还是找不到解决办法。