“远程报表处理需要Microsoft SQL Server 2008报表服务或更高版本”但是,我使用的是2016

问题描述:

  • 我有2台Reporting Services的服务器,一个是Reporting Services的2012和2016年等
  • 有报告和文件夹在两台服务器上。
  • 我使用微软报表查看器(的WinForms DLL)10.0.0.0WPF页 缠绕在的WinForms组件在远程模式连接到我的报表服务器。
  • 我是不是使用2005报告服务或任何地方的报告,并有
    在我的报告编写器中重新编译报告。

当我尝试在我的WPF页面查看报告我刚刚得到这个消息:“远程报表处理需要Microsoft SQL Server 2008报表服务或更高版本”但是,我使用的是2016

远程报表处理需要Microsoft SQL Server 2008报表服务或更高版本

我怎样才能停止此消息并看到我的报告出现?

在此先感谢。 戴夫K.

附加....

我做了一个破发点就在reportviewer.RefreshReport后()和深挖,发现此异常,显示ReportingServices2005(但为什么?) ...

at Microsoft.Reporting.WinForms.Internal.Soap。 ReportingServices2005 .Execution.RSExecutionConnection.SoapVersionMismatchException.ThrowIfVersionMismatch(的SoapException E,字符串expectedEndpoint,字符串信息,布尔includeInnerException) 在Microsoft.Reporting.WinForms.SoapReportExecutionService.ServerReportSoapProxy.OnSoapException(的SoapException E) 在Microsoft.Reporting.WinForms.Internal .Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute [TReturn](RSExecutionConnection连接,ProxyMethod 1 initialMethod, ProxyMethod 1 retryMethod) 在Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(字符串报告,字符串HistoryID) at Microsoft.Reporting.WinForms.SoapReportExecutionService.LoadReport(String report,String historyId) 在Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession() 在Microsoft.Reporting.WinForms.ServerReport.get_AutoRefreshInterval()

+0

确认RDLC没有引用像“http://schemas.microsoft。COM/SQLSERVER /报告/ 2005'。 – TnTinMn

+0

不是2005年,我能看到的最糟糕的事情是...

+0

或2016年报告...

发现那是什么。在'查看'报告时,我在URL中使用报告浏览器服务“ReportService2010.asmx”。当然,这只有在从存储库获取报告列表时才会使用。

我现在也使用The request failed with HTTP status 401: Unauthorized IN SSRS这个非常好的CustomSSRSCredentials类。

现在所有的工作。