0

我正在使用Reporting Services生成報告。我最近升級從9版本我的ReportViewer控制版本11.我的問題是,在11版我得到一個錯誤消息ReportViewer 11顯示錯誤消息

<div id="Viewer_ctl09_NonReportContent" style="height:100%;width:100%; display:none;"> <div style="font-family:Verdana;font-size:8pt;"> <!-- at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.MissingEndpointException.ThrowIfEndpointMissing(WebException e)&#13;&#10; at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ValidateConnection()&#13;&#10; at Microsoft.Reporting.WebForms.SoapReportExecutionService.GetServerVersion()&#13;&#10; at Microsoft.Reporting.WebForms.ServerReport.GetServerVersion()&#13;&#10; at Microsoft.Reporting.WebForms.PrintCabOperation.CreateUrl(ReportControlSession reportControlSession, ClientArchitecture clientArch, String instanceID)&#13;&#10; at Microsoft.Reporting.WebForms.ClientPrintInfo..ctor(ReportViewer viewer)&#13;&#10; at Microsoft.Reporting.WebForms.ReportViewer.OnPreRender(EventArgs e)--> <ul> <li style="display:inline;">The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.</li><ul> <li style="display:inline;">The request failed with HTTP status 404: Not Found.</li> </ul> </ul> </div> </div>.

這種情況發生在遙控器首次加載,報告工作時,我做了一些過濾。現在,當我將標記ProcessingMode設置爲Remote時,會發生這種情況。當設置爲本地我沒有這個問題。我正在使用Sql Server 2005,Reporting Services 2008 R2和ReportViewer 11.

有沒有人遇到過這個?請幫忙!!!

回答

0

這是一個處理這個確切問題的帖子:The attempt to connect to the report server failed

+0

Cheers Ann。我在提供的鏈接上查看了解決方案,它幫助我糾正了一些連接問題。對於有問題的任何人,還有一個ReportViewer 11在屬性中設置的默認服務URL。所以如果你是從代碼背後設置服務URL,確保你設置它的第一件事,即onInit。再次感謝Ann。 – Mbangarama