• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1887
  • Last Modified:

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

Open in new window

  • 4
  • 3
1 Solution
there's probably some weird character in the filename "%2fSRSS+-+Reports" which is causing the framework to spit that back at you... so unless you have an easy way to control the naming of your folders and or files... i'm afraid you'll have to replace the improper characters in the path BEFORE posting it in the URL, and then changing the characters you've replaced BACK to their original state when you try to open the folder in your back-end.

akulasAuthor Commented:
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?

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?
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Also, in your code, if you try to run the sitemap without decoding the path first, it'll crash:


akulasAuthor Commented:
I removed %2f , I think that should be there but still not luck.  '.' is not a part of the url
URL encoding transforms any special characters into a URL safe code...

+ = a space
%2f = a forward slash...

However, if you try to run the map afterwards using this Encoded URL... it will try and load content in a folder called %2fSRSS+-+Reports, which obviously doesn't exist... so you have to URL Decode it before trying to load the path in the map.
akulasAuthor Commented:
I removed the encoding and just put / and space

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now