SSRS 2005 给我“无效的 URI:无法确定 URI 的格式”当尝试定制它时
自定义时出现错误“无效 URI:无法确定 URI 的格式”。我对配置文件和 UI 进行了一些更改,但我不断收到此错误。它不会将其记录在事件日志或日志文件中,这使得调试非常烦人。那么我如何找出错误来自哪里呢?是指向 ReportServer2005.asmx 文件的 URL 还是其他内容?
更新:记录的具体错误是:
aspnet_wp!library!9!3/11/2010-15:52:49:: i 信息:正在初始化 WatsonDumpOnExceptions 默认值 的值 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException' 因为它没有被指定 配置文件。 aspnet_wp!library!9!3/11/2010-15:52:49:: i 信息:正在初始化 WatsonDumpExcludeIfContainsExceptions 为默认值 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException' 因为它没有被指定 配置文件。 aspnet_wp!library!9!3/11/2010-15:52:49:: i 信息:正在初始化 SecureConnectionLevel 为默认值 为“1”,因为未指定 在配置文件中。 aspnet_wp!library!9!3/11/2010-15:52:49:: i 信息:初始化 DisplayErrorLink 为“True”,如指定的 配置文件。 aspnet_wp!library!9!3/11/2010-15:52:49:: i 信息:正在初始化 WebServiceUseFileShareStorage 到 默认值为“False”,因为它 配置中未指定 文件。 aspnet_wp!ui!9!3/11/2010-15:52:52:: e 错误:URI 无效:格式 无法确定 URI。 aspnet_wp!ui!9!3/11/2010-15:52:53:: e 错误:HTTP 状态代码 --> 500 --------详细信息-------- System.UriFormatException:无效 URI: URI 的格式不能 下定决心。
在 Microsoft.SqlServer.ReportingServices2005.RSConnection.GetSecureMethods()
在 Microsoft.ReportingServices.UI.Global.RSWebServiceWrapper.GetSecureMethods()
在 Microsoft.SqlServer.ReportingServices2005.RSConnection.IsSecureMethod(字符串方法名称)
在 Microsoft.SqlServer.ReportingServices2005.RSConnection.ValidateConnection()
在 Microsoft.ReportingServices.UI.Global.SecureAllAPI()
在 Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel 级别)
在 Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(对象 发送者,EventArgs 参数)
在 System.EventHandler.Invoke(对象 发送者,EventArgs e)
在 System.Web.UI.Control.OnInit(EventArgs e)
在 System.Web.UI.Page.OnInit(EventArgs e)
在 System.Web.UI.Control.InitRecursive(控制 命名容器)
在 System.Web.UI.Page.ProcessRequestMain(布尔值 includeStagesBeforeAsyncPoint,布尔值 includeStagesAfterAsyncPoint) aspnet_wp!ui!9!3/11/2010-15:52:53:: e 错误:ShowErrorPage 中出现异常: System.Threading.ThreadAbortException: 线程被中止。在 System.Threading.Thread.AbortInternal() 在 System.Threading.Thread.Abort(对象 状态信息)位于 System.Web.HttpResponse.End() 位于 System.Web.HttpServerUtility.Transfer(字符串 路径,布尔值preserveForm)位于 Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(字符串 错误消息) 在 at System.Threading.Thread.AbortInternal() 在 System.Threading.Thread.Abort(对象 状态信息)位于 System.Web.HttpResponse.End() 位于 System.Web.HttpServerUtility.Transfer(字符串 路径,布尔值serveForm)位于 Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(字符串 错误消息)
谢谢。
I'm getting the error "Invalid URI: The format of the URI could not be determined" when customizing it. I've made several changes to the configuration files and UI, but I keep getting this error. It isn't logging it too in the event log nor the log files, which makes it very annoying to debug. So how do I figure out where the error is coming from? Is it with the URL that's pointing to the ReportServer2005.asmx file, or something else?
Updated: The specific error being logged is:
aspnet_wp!library!9!3/11/2010-15:52:49::
i INFO: Initializing
WatsonDumpOnExceptions to default
value of
'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'
because it was not specified in
Configuration file.
aspnet_wp!library!9!3/11/2010-15:52:49::
i INFO: Initializing
WatsonDumpExcludeIfContainsExceptions
to default value of
'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'
because it was not specified in
Configuration file.
aspnet_wp!library!9!3/11/2010-15:52:49::
i INFO: Initializing
SecureConnectionLevel to default value
of '1' because it was not specified
in Configuration file.
aspnet_wp!library!9!3/11/2010-15:52:49::
i INFO: Initializing DisplayErrorLink
to 'True' as specified in
Configuration file.
aspnet_wp!library!9!3/11/2010-15:52:49::
i INFO: Initializing
WebServiceUseFileShareStorage to
default value of 'False' because it
was not specified in Configuration
file.
aspnet_wp!ui!9!3/11/2010-15:52:52:: e
ERROR: Invalid URI: The format of the
URI could not be determined.
aspnet_wp!ui!9!3/11/2010-15:52:53:: e
ERROR: HTTP status code --> 500
-------Details-------- System.UriFormatException: Invalid
URI: The format of the URI could not
be determined.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)
aspnet_wp!ui!9!3/11/2010-15:52:53:: 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)
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论