【问题标题】:SSRS 2005 - http://<servername>/reports errorSSRS 2005 - http://<服务器名称>/报告错误
【发布时间】:2011-09-08 20:31:16
【问题描述】:

我们最近配置了 SQL SERVER 2005 报告服务器,当我转到 http://&lt;servername&gt;/reportserver 时它可以工作。但是当我想访问http://&lt;servername&gt;/reports 时,我得到了错误。

“请求失败,HTTP 状态 400:错误请求”

在网上浏览了几篇关于如何修复它的文章之后...... 我尝试更改 RSWebApplication.config 文件中的一些代码。

<UI>
<ReportServerUrl>http://<servername>/reportserver</ReportServerUrl>
<ReportServerVirtualDirectory></ReportServerVirtualDirectory>
<ReportBuilderTrustLevel>FullTrust</ReportBuilderTrustLevel>
</UI>

但它没有工作。有人可以帮忙吗?谢谢!

这是日志...

System.Net.WebException: The request failed with HTTP status 400: Bad Request.

   at Microsoft.SqlServer.ReportingServices2005.RSConnection.GetSecureMethods()

   at Microsoft.ReportingServices.UI.Global.RSWebServiceWrapper.GetSecureMethods()

   at Microsoft.SqlServer.ReportingServices2005.RSConnection.IsSecureMethod(String methodname)

   at Microsoft.SqlServer.ReportingServices2005.RSConnection.ValidateConnection()

   at Microsoft.ReportingServices.UI.Global.SecureAllAPI()

   at Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel level)

   at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object sender, EventArgs args)

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at System.Web.UI.Control.OnInit(EventArgs e)

   at System.Web.UI.Page.OnInit(EventArgs e)

   at System.Web.UI.Control.InitRecursive(Control namingContainer)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
w3wp!ui!7!9/8/2011-13:58:39:: e ERROR: Exception in ShowErrorPage: System.Threading.ThreadAbortException: Thread was being aborted.
   at System.Threading.Thread.AbortInternal()
   at System.Threading.Thread.Abort(Object stateInfo)
   at System.Web.HttpResponse.End()
   at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
   at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg) at    at System.Threading.Thread.AbortInternal()
   at System.Threading.Thread.Abort(Object stateInfo)
   at System.Web.HttpResponse.End()
   at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
   at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)

【问题讨论】:

  • @PreetSangha -- 我在主帖中添加了事件日志。请审查它。谢谢。

标签: reportingservices-2005


【解决方案1】:

看起来像一个安全问题。可能想检查这个MSDN article 似乎有很多可能性。让我们知道它们是否有效。

【讨论】:

  • 是的,这绝对是一个安全问题,我们仍在努力解决这个问题。感谢您对此的帮助。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-03-10
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多