sql server reporting services:
I have a report in which I have a GUID as a parameter. This has worked
fine until I ran across one instance where I get the following error:
=======================================================================================================
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException
was thrown. (rrRenderingError) Get Online Help
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException
was thrown.
Invalid URI: The hostname could not be parsed.
=======================================================================================================
The parameter in question is: sessionID =
2dfbf18f-722b-4664-8c09-8b73024a93c9
The full url is:
https://[DOMAIN_URL]/Reports/Pages/Report.aspx?ServerUrl=https%3a%2f%2f[DOMAIN_URL]%2fReportServer%3f%252fEnterprise%252fISD%252fWeb%2bUsage%2bReports%252fSessionConsolidated%26sessionID%3d2dfbf18f-722b-4664-8c09-8b73024a93c9%26rs%253aParameterLanguage%3d%26rc%253aParameters%3dCollapsed%26rc%253aReplacementRoot%3dhttps%253a%252f%252fintranet.test.dartcontainer.com%252fReports%252fPages%252fReport.aspx%253fServerUrl%253d
This is the first GUID that I have run across that has caused a
problem. Could it be a combination of the characters in the guid that
is causing Reporting Services to have a problem with the parameter? If
so, how likely is this to happen again?
The Full Error from the error log is:
=======================================================================================================
w3wp!reportrendering!d70!12/23/2004-09:57:45:: e ERROR: Throwing
Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException:
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException
was thrown., ;
Info:
Microsoft.ReportingServices.ReportProcessing.WrapperReportRenderingException:
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException
was thrown. --->
Microsoft.ReportingServices.ReportRendering.ReportRenderingException:
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException
was thrown. ---> System.UriFormatException: Invalid URI: The hostname
could not be parsed.
at System.Uri.Parse()
at System.Uri..ctor(String uriString, Boolean dontEscape)
at System.Uri..ctor(String uriString)
at
Microsoft.ReportingServices.ReportRendering.ReportUrl..ctor(RenderingContext
reportContext, String initialUrl, Boolean checkProtocol,
NameValueCollection unparsedParameters, Boolean useReplacementRoot)
at
Microsoft.ReportingServices.ReportRendering.ReportUrl.BuildHyperLinkURL(String
hyperLinkUrlValue, RenderingContext renderingContext)
at
Microsoft.ReportingServices.ReportRendering.TextBox.get_HyperLinkURL()
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.BaseRenderer.GetTextBoxActionUri(TextBox
textBox, String& uniqueNameId, String& bookmarkLink)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.RenderTextBoxContent(TextBox
textBox, String textBoxValue, Style textBoxStyle, Boolean
renderToggleImage)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.RenderTextBoxPercent(TextBox
textBox)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.RenderReportItem(ReportItem
reportItem, Int32 borderContext, Boolean renderId)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.RenderTableDetails(TableRowsCollection
detailRows, Int32 start, Int32 end, TableColumnCollection columns,
TableContext tableContext)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.BaseRenderer.RenderTableGroup(TableGroup
tableGroup, TableAction action, Int32& totalRows, TableColumnCollection
columns, TableContext tableContext)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.BaseRenderer.RenderAllTable(Table
table, TableAction action, Int32& totalRows, TableContext tableContext)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.RenderTableContent(Table
table, Int32 startPage, Int32 endPage, Int32 tableBorderContext)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.RenderTable(Table
table, Int32 startPage, Int32 endPage, Int32& borderContext, Boolean
renderId)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.RenderReportItem(ReportItem
reportItem, Int32 borderContext, Boolean renderId)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.BaseRenderer.RenderCellItems(ReportItemCollection
repItemCol, Hashtable partialItems, Hashtable expandItems,
PageTableCell currCell, Int32 borderContext, Int32 linkToChild, Boolean
layoutExpand)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.GenerateTableLayoutContent(PageTableLayout
rgTableGrid, Hashtable partialItems, ReportItemCollection repItemCol,
Boolean bfZeroRowReq, Boolean bfZeroColReq, String docMapId, Boolean
inDocMap, Boolean renderHeight, Int32 borderContext, Int32 linkToChild,
Boolean layoutExpand)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.GenerateHTMLTable(ReportItemCollection
repItemCol, Double dxParent, Double dyParent, PageData pageData, String
docMapId, Boolean inDocMap, Int32 borderContext, Int32 linkToChild,
Boolean expandLayout)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.HTML4Renderer.RenderRectangle(Rectangle
rectangle, PageData pageData, Int32& borderContext, Boolean renderId)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.BaseRenderer.RenderPage(Int32
index)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.BaseRenderer.RenderPages()
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.BaseRenderer.RenderBody(HtmlTextWriter
htmlTextWriter)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.ViewerReportArea.RenderBody(HtmlTextWriter
outputWriter)
at
Microsoft.ReportingServices.WebServer.ContainerControl.RenderBody(HtmlTextWriter
outputWriter)
at
Microsoft.ReportingServices.WebServer.HTMLViewerPage.Render(HtmlTextWriter
outputWriter)
at
Microsoft.ReportingServices.WebServer.HtmlArea.Render(HtmlTextWriter
outputWriter)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.ViewerReportArea.Render(HtmlTextWriter
outputWriter)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.Html40RenderingExtension.InternalRender(Report
report, NameValueCollection reportServerParameters, NameValueCollection
deviceInfo, NameValueCollection clientCapabilities,
EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions,
CreateAndRegisterStream createAndRegisterStream)
at
Microsoft.ReportingServices.Rendering.HtmlRenderer.RenderingExtensionBase.Render(Report
report, NameValueCollection reportServerParameters, NameValueCollection
deviceInfo, NameValueCollection clientCapabilities,
EvaluateHeaderFooterExpressions evaluateHeaderFooterExpressions,
CreateAndRegisterStream createAndRegisterStream)