【问题标题】:SQL Reporting Services, The request failed with HTTP status 404: Not FoundSQL Reporting Services,请求失败,HTTP 状态为 404:未找到
【发布时间】:2014-05-22 17:48:35
【问题描述】:

.net 应用程序在 SQL Server 2005 的服务器上运行,现在我们将应用程序重新定位到 SQL Server 2008 的新服务器。

以下是我尝试从应用程序获取报告时的错误:

“/Importal”应用程序中的服务器错误。

请求失败,HTTP 状态为 404:未找到。说明:一个 当前 web 执行过程中发生未处理的异常 要求。请查看堆栈跟踪以获取有关 错误以及它起源于代码的位置。

异常详细信息:System.Net.WebException:请求失败 HTTP 状态 404:未找到。

来源错误:

在执行过程中产生了一个未处理的异常 当前的网络请求。有关原产地和位置的信息 可以使用下面的异常堆栈跟踪来识别异常。

堆栈跟踪:

[WebException:请求失败,HTTP 状态 404:未找到。]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage 消息、WebResponse 响应、流 responseStream、布尔值 asyncCall) +431225
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(字符串 方法名、对象[] 参数)+204
Microsoft.SqlServer.ReportingServices2005.Execution.ReportExecutionService.LoadReport(字符串 报告,字符串 HistoryID) +69
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(字符串 报告,字符串 HistoryID) +67

[MissingEndpointException: 连接报表服务器的尝试 失败的。检查您的连接信息和报表服务器 是兼容版本。]
Microsoft.SqlServer.ReportingServices2005.Execution.MissingEndpointException.ThrowIfEndpointMissing(WebException e) +4027725
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(字符串 报告,字符串 HistoryID)+107
Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() +121
Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 参数)+67 ImportPerformanceKPI.btnList_Click(对象发送者, 事件参数 e) +425
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(字符串 事件参数)+110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(字符串 eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,字符串 eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint) +1565

【问题讨论】:

  • 您能否列出 Reporting Services 配置管理器 Web 服务 URL 窗格中每个项目的值?

标签: reporting-services ssrs-2008 reportingservices-2005


【解决方案1】:

如果您的新 SQL Server 未配置 Reporting Services,则需要对其进行配置。 你可能已经这样做了。

在错误中,我们有:

[MissingEndpointException:连接到报表服务器的尝试失败。检查您的连接信息以及报表服务器是否为兼容版本。 ]

接下来确保您的应用程序指向 SQL Server 的新实例(它正在寻找 2005 实例)。然后检查您的应用程序是否适用于 SSRS 2008。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-04-10
    • 1970-01-01
    • 2022-11-13
    • 2019-03-25
    • 1970-01-01
    • 1970-01-01
    • 2023-01-21
    • 2011-08-02
    相关资源
    最近更新 更多