this.rptViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote; ServerReport report = this.rptViewer.ServerReport; report.ReportServerCredentials = new CustomReportCredentials("Administrator", "pm810112", "");
report.ReportServerUrl = new Uri(@"http://mymsg2:80/ReportServer/XLRS08/");//("http://xl-moven:80/ReportServer/XL-Report");
report.ReportPath = @"myreport.rdl";
结果出错: 客户端发现响应内容类型为“”,但应为“text/xml”。请求失败,响应为空。请指教!!
report.ReportServerUrl = new Uri(@"http://mymsg2:80/ReportServer/XLRS08/");//("http://xl-moven:80/ReportServer/XL-Report");
report.ReportPath = @"myreport.rdl";
结果出错: 客户端发现响应内容类型为“”,但应为“text/xml”。请求失败,响应为空。请指教!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货