Malformed URL Error

Mar 16, 2010 at 12:52 AM

Hi Everyone,

I did a stupid thing and need some help to recover. I tried to create a new page and put url in the virtual path that MWPSK did not like. After hitting save I received an error that it was malformed and could not do anything else. When you go to the site you get this error message. I connected to the ISP and deleted this new page that I attempted to add, but that did not help. I found a reference to this page in the web.sitemap file and deleted it. I can now bring up my site, but if I go into administration | pages & navigation and try to do anything like move an existing working page up or down. I get the error again and the entry is back into the web.sitemap file. I searched the entire solution in visual studio for this url and only find it in the web.sitemap file. Where is this entry be comming from and how do I get rid of it. Below is the message in my error log.

Any help or advice is appreciated. 

<LogEntry>
      <PageTitle>/administration/navigation.aspx</PageTitle>
      <Created>Monday, March 15, 2010 5:47:56 PM</Created>
      <Error>System.Configuration.ConfigurationErrorsException: The 'url' property had a malformed URL: ~/http://www.companiondogschool.com/downloadhandler.ashx?pg=a8d8b437-832f-4b2a-8b10-5faa4002539b&amp;section=fd924bb8-ba6e-445b-8760-267514f8d770&amp;file=classapplication+with+classlist.pdf.aspx.
   at System.Web.XmlSiteMapProvider.GetNodeFromXmlNode(XmlNode xmlNode, Queue queue)
   at System.Web.XmlSiteMapProvider.ConvertFromXmlNode(Queue queue)
   at System.Web.XmlSiteMapProvider.BuildSiteMap()
   at System.Web.XmlSiteMapProvider.get_RootNode()
   at System.Web.SiteMap.get_RootNode()
   at Administration_Navigation.Page_Load(Object sender, EventArgs e) in c:\sites\Single17\cdsadmin\webroot\Administration\Navigation.aspx.cs:line 52
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.administration_navigation_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2eb4ee61\e129cbe7\App_Web_2uj-5g-d.4.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)</Error>
      <ServerVariables>
        <string>ALL_HTTP: HTTP_CACHE_CONTROL:no-cache, HTTP_CONNECTION:Keep-Alive, HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, application/x-shockwave-flash, */*, HTTP_ACCEPT_ENCODING:gzip, deflate, HTTP_ACCEPT_LANGUAGE:en-us, HTTP_COOKIE:.ASPXANONYMOUS=HQ70JQn7ygEkAAAAMjAwYWQ1ZmYtMWUzMS00NTUzLWI5ODItOTAzOTYyZTZkNzU30; ASP.NET_SessionId=ppi2hnyhrgeutt55twror255; .ASPXFORMSAUTH=4B5192E6E6F09C37F80E006CA9630831170F9648B271B23B52DDBC1B4B6CE40DE76B031E8F9B19E37FD9884AE6A3B99D638B3EE267C298D03773687D2805E15ABC25559A829252947EA99CA199C01925; .ASPXROLES=1E_Xkh_QwbkVqPX0LwR_WqV6fwtB_zETPKjx2nKB5_wUtMDnJTm_DBa75MyBm1KCNESTQZbCNyhtUX4tx70bNIuRX6vdrPdxLbBuTgiSCT-gdxMA2gLGK5DTB23wHcwVcX14S3J7ofEcP-Bt67tSCSYESqvi1Y6yQn_QulFzTALnCf7s0Y9Nc6uEqQDcSb8wMUO0h6SrqPSGM5aP9cprGZ5rP3kNhakdiaBoY86U5pDi9fboDRRresLZh-muJBUsk0bYP7N8GJ_MYgaob4S1p3UOlGLXoR8mz8khAdEUEdSNTjdGV9_FT9WHjNm_0gMKaqdRbDRqIrUTvsqxI3gDKY2-Mv0U7D6y5EdcEDGTIQNqyT8vxh6kZchf8L0dS5DfAahJ_2fVo9FnNOo8SNMeT9Q65C3M7qWaKnSKPN_dzfbGJ4Vf4tVABKeQ5GPQc988wYChBkbN4VqTDSSTXgshScLA59gHpMJoYSCX9gy5FDY1, HTTP_HOST:www.companiondogschool.com, HTTP_REFERER:http://www.companiondogschool.com/administration/navigation.aspx, HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Hewlett-Packard; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; .NET CLR 4.0.20506; MS-RTC LM 8), HTTP_UA_CPU:x86, HTTP_X_REWRITE_URL:/administration/navigation.aspx?sel=6ac8e256-7ded-429c-b7c1-116fad51bc19, </string>
        <string>ALL_RAW: Cache-Control: no-cache, Connection: Keep-Alive, Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, application/x-shockwave-flash, */*, Accept-Encoding: gzip, deflate, Accept-Language: en-us, Cookie: .ASPXANONYMOUS=HQ70JQn7ygEkAAAAMjAwYWQ1ZmYtMWUzMS00NTUzLWI5ODItOTAzOTYyZTZkNzU30; ASP.NET_SessionId=ppi2hnyhrgeutt55twror255; .ASPXFORMSAUTH=4B5192E6E6F09C37F80E006CA9630831170F9648B271B23B52DDBC1B4B6CE40DE76B031E8F9B19E37FD9884AE6A3B99D638B3EE267C298D03773687D2805E15ABC25559A829252947EA99CA199C01925; .ASPXROLES=1E_Xkh_QwbkVqPX0LwR_WqV6fwtB_zETPKjx2nKB5_wUtMDnJTm_DBa75MyBm1KCNESTQZbCNyhtUX4tx70bNIuRX6vdrPdxLbBuTgiSCT-gdxMA2gLGK5DTB23wHcwVcX14S3J7ofEcP-Bt67tSCSYESqvi1Y6yQn_QulFzTALnCf7s0Y9Nc6uEqQDcSb8wMUO0h6SrqPSGM5aP9cprGZ5rP3kNhakdiaBoY86U5pDi9fboDRRresLZh-muJBUsk0bYP7N8GJ_MYgaob4S1p3UOlGLXoR8mz8khAdEUEdSNTjdGV9_FT9WHjNm_0gMKaqdRbDRqIrUTvsqxI3gDKY2-Mv0U7D6y5EdcEDGTIQNqyT8vxh6kZchf8L0dS5DfAahJ_2fVo9FnNOo8SNMeT9Q65C3M7qWaKnSKPN_dzfbGJ4Vf4tVABKeQ5GPQc988wYChBkbN4VqTDSSTXgshScLA59gHpMJoYSCX9gy5FDY1, Host: www.companiondogschool.com, Referer: http://www.companiondogschool.com/administration/navigation.aspx, User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Hewlett-Packard; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; .NET CLR 4.0.20506; MS-RTC LM 8), UA-CPU: x86, X-REWRITE-URL: /administration/navigation.aspx?sel=6ac8e256-7ded-429c-b7c1-116fad51bc19, </string>
        <string>APPL_MD_PATH: /LM/W3SVC/935/ROOT</string>
        <string>APPL_PHYSICAL_PATH: C:\Sites\Single17\cdsadmin\webroot\</string>
        <string>AUTH_TYPE: Forms</string>
        <string>AUTH_USER: richard</string>
        <string>REMOTE_USER: richard</string>
        <string>CONTENT_LENGTH: 0</string>
        <string>GATEWAY_INTERFACE: CGI/1.1</string>
        <string>HTTPS: off</string>
        <string>INSTANCE_ID: 935</string>
        <string>INSTANCE_META_PATH: /LM/W3SVC/935</string>
        <string>LOCAL_ADDR: 65.182.101.102</string>
        <string>PATH_INFO: /administration/navigation.aspx</string>
        <string>PATH_TRANSLATED: C:\Sites\Single17\cdsadmin\webroot\administration\navigation.aspx</string>
        <string>QUERY_STRING: sel=6ac8e256-7ded-429c-b7c1-116fad51bc19</string>
        <string>REMOTE_ADDR: 70.177.103.185</string>
        <string>REMOTE_HOST: 70.177.103.185</string>
        <string>REMOTE_PORT: 4200</string>
        <string>REQUEST_METHOD: GET</string>
        <string>SCRIPT_NAME: /administration/navigation.aspx</string>
        <string>SERVER_NAME: www.companiondogschool.com</string>
        <string>SERVER_PORT: 80</string>
        <string>SERVER_PORT_SECURE: 0</string>
        <string>SERVER_PROTOCOL: HTTP/1.1</string>
        <string>SERVER_SOFTWARE: Microsoft-IIS/6.0</string>
        <string>URL: /administration/navigation.aspx</string>
        <string>HTTP_CACHE_CONTROL: no-cache</string>
        <string>HTTP_CONNECTION: Keep-Alive</string>
        <string>HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, application/x-shockwave-flash, */*</string>
        <string>HTTP_ACCEPT_ENCODING: gzip, deflate</string>
        <string>HTTP_ACCEPT_LANGUAGE: en-us</string>
        <string>HTTP_COOKIE: .ASPXANONYMOUS=HQ70JQn7ygEkAAAAMjAwYWQ1ZmYtMWUzMS00NTUzLWI5ODItOTAzOTYyZTZkNzU30; ASP.NET_SessionId=ppi2hnyhrgeutt55twror255; .ASPXFORMSAUTH=4B5192E6E6F09C37F80E006CA9630831170F9648B271B23B52DDBC1B4B6CE40DE76B031E8F9B19E37FD9884AE6A3B99D638B3EE267C298D03773687D2805E15ABC25559A829252947EA99CA199C01925; .ASPXROLES=1E_Xkh_QwbkVqPX0LwR_WqV6fwtB_zETPKjx2nKB5_wUtMDnJTm_DBa75MyBm1KCNESTQZbCNyhtUX4tx70bNIuRX6vdrPdxLbBuTgiSCT-gdxMA2gLGK5DTB23wHcwVcX14S3J7ofEcP-Bt67tSCSYESqvi1Y6yQn_QulFzTALnCf7s0Y9Nc6uEqQDcSb8wMUO0h6SrqPSGM5aP9cprGZ5rP3kNhakdiaBoY86U5pDi9fboDRRresLZh-muJBUsk0bYP7N8GJ_MYgaob4S1p3UOlGLXoR8mz8khAdEUEdSNTjdGV9_FT9WHjNm_0gMKaqdRbDRqIrUTvsqxI3gDKY2-Mv0U7D6y5EdcEDGTIQNqyT8vxh6kZchf8L0dS5DfAahJ_2fVo9FnNOo8SNMeT9Q65C3M7qWaKnSKPN_dzfbGJ4Vf4tVABKeQ5GPQc988wYChBkbN4VqTDSSTXgshScLA59gHpMJoYSCX9gy5FDY1</string>
        <string>HTTP_HOST: www.companiondogschool.com</string>
        <string>HTTP_REFERER: http://www.companiondogschool.com/administration/navigation.aspx</string>
        <string>HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Hewlett-Packard; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; .NET CLR 4.0.20506; MS-RTC LM 8)</string>
        <string>HTTP_UA_CPU: x86</string>
        <string>HTTP_X_REWRITE_URL: /administration/navigation.aspx?sel=6ac8e256-7ded-429c-b7c1-116fad51bc19</string>
      </ServerVariables>
    </LogEntry>

 

Mar 16, 2010 at 8:57 AM

Deleting the entry from the web.sitemap file was a good thing to do.
What you now experience however is the caching mechanisme of the Microsoft IIS server (webserver).

Best thing to do is to recycle the application pool configured to run your website on the webserver.
When you are in a shared hosting environment, you have to ask the hosting company to do so.

In some cases they already configured to automatically recycle the application pool (nightly for instance).
If so, you have to wait 24 hours :-(

Greetz Geert van Raaij - Pando IT, The Netherlands

Mar 16, 2010 at 2:43 PM

That was it... All is well this morning. My self inflicted gun shot wound has healed.

I am using version 1.2. Does 1.3 do any error checking for dummies like me?  

Thank you for your help.