akulas
asked on
Urgent: The 'url' property had a malformed - ERRor
The 'url' property had a malformed URL: http://development/Reports/Pages/Folder.aspx?ItemPath=%2fSSRS+-+Reports&ViewMode=List.
[ConfigurationErrorsException: The 'url' property had a malformed URL: http://development/Reports/Pages/Folder.aspx?ItemPath=%2fSSRS+-+Reports&ViewMode=List.]
System.Web.XmlSiteMapProvider.GetNodeFromXmlNode(XmlNode xmlNode, Queue queue) +3188633
System.Web.XmlSiteMapProvider.ConvertFromXmlNode(Queue queue) +299
System.Web.XmlSiteMapProvider.BuildSiteMap() +1161
System.Web.XmlSiteMapProvider.get_RootNode() +12
System.Web.UI.WebControls.SiteMapDataSource.GetNodes() +219
System.Web.UI.WebControls.SiteMapDataSource.GetTreeView(String viewPath) +32
System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView(String viewPath) +29
System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView(String viewPath) +7
System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData(String viewPath) +22
System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item) +42
System.Web.UI.WebControls.Menu.PerformDataBinding() +117
System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() +82
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.Menu.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.Menu.EnsureDataBound() +29
System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript) +21
System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e) +22
System.Web.UI.Control.PreRenderRecursiveInternal() +86
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7248
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
ASKER
Hi Max,
I just have the Folder name as 'SSRS - Reports' . The url came as encoded once I view it in the browser and I am copying and pasting the url.
How can we use the special characters in asp.net sitemapnode?
Thanks,
I just have the Folder name as 'SSRS - Reports' . The url came as encoded once I view it in the browser and I am copying and pasting the url.
How can we use the special characters in asp.net sitemapnode?
Thanks,
try running the same URL, without the %2f in front and see if that loads...
otherwise, there's a problem with the input field where you're entering the folder path (i.e.: the URL encode sees a space or some other character... i believe %2f is the forward slash... ) maybe you're not concatenating your input string properly? or is the forward slash supposed to be there?
is the "." part of the URL as well?
otherwise, there's a problem with the input field where you're entering the folder path (i.e.: the URL encode sees a space or some other character... i believe %2f is the forward slash... ) maybe you're not concatenating your input string properly? or is the forward slash supposed to be there?
is the "." part of the URL as well?
Also, in your code, if you try to run the sitemap without decoding the path first, it'll crash:
Server.URLDecode(Request.Q uerystring ("ItemPath "))
cheers!
Server.URLDecode(Request.Q
cheers!
ASKER
I removed %2f , I think that should be there but still not luck. '.' is not a part of the url
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I removed the encoding and just put / and space
Cheers!