Urgent:  The 'url' property had a malformed  - ERRor

Posted on 2009-02-13
Last Modified: 2012-08-13
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

Question by:akulas
    LVL 10

    Expert Comment

    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.


    Author Comment

    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 sitemapnode?

    LVL 10

    Expert Comment

    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?
    LVL 10

    Expert Comment

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



    Author Comment

    I removed %2f , I think that should be there but still not luck.  '.' is not a part of the url
    LVL 10

    Accepted Solution

    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.

    Author Comment

    I removed the encoding and just put / and space

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

          Install BugTracker on Windows 2008 server Step 1:  Install windows 2008 server 32 bit OS and configure IIS. Step 2:  Install SQL server ( SQL server 2005 or SQL server 2005 Express edition. The installer for 2008  version isn’t very f…
    Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
    This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
    Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now