2017-08-11 87 views
0
  • 我有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年報告... <報告MustUnderstand =「df」xmlns =「http://schemas.microsoft.com/sqlserver/reporting/2016/01/... xmlns:cl =」http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition「xmlns:df =」http://schemas.microsoft.com/sqlserver/reporting/2016/01/... –

回答

0

發現那是什麼。在'查看'報告時,我在URL中使用報告瀏覽器服務「ReportService2010.asmx」。當然,這隻有在從存儲庫獲取報告列表時纔會使用。

我現在也使用The request failed with HTTP status 401: Unauthorized IN SSRS這個非常好的CustomSSRSCredentials類。

現在所有的工作。

相關問題