Could not find the sitemap node with URL

Discussion in 'General troubleshooting' started by 0007647, Nov 28, 2013.

  1. Hi,
    I copied all my site on the server of Winhost. I tested it, and all was ok. A few hours later, I surfed again on it, but I received this error:
    "Could not find the sitemap node with URL"

    Of course I havn't change aynthing between my two tests.

    Do you have an idea regards this error.

    Thanks in advance.
    Fred.
     
    Last edited by a moderator: Oct 14, 2015
  2. Elshadriel

    Elshadriel Winhost Staff

    Was that the entire error? It seems to me that one of your links may be broken.
     
    Michael likes this.
  3. Here is the entire error:

    I checked it. ~/ecole/ecole.aspx well exists on the server.

    Thank you for you help.


    Server Error in '/' Application.
    Could not find the sitemap node with URL '~/ecole/ecole.aspx'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: Could not find the sitemap node with URL '~/ecole/ecole.aspx'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ArgumentException: Could not find the sitemap node with URL '~/ecole/ecole.aspx'.]
    System.Web.UI.WebControls.SiteMapDataSource.GetNodes() +1918654
    System.Web.UI.WebControls.SiteMapDataSource.GetTreeView(String viewPath) +35
    System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView(String viewPath) +32
    System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView(String viewPath) +10
    System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData(String viewPath) +25
    System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item) +54
    System.Web.UI.WebControls.Menu.PerformDataBinding() +137
    System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() +99
    System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74
    System.Web.UI.WebControls.Menu.DataBind() +4
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +66
    System.Web.UI.WebControls.Menu.EnsureDataBound() +40
    System.Web.UI.WebControls.Menu.CreateChildControls() +110
    System.Web.UI.Control.EnsureChildControls() +102
    System.Web.UI.Control.PreRenderRecursiveInternal() +42
    System.Web.UI.Control.PreRenderRecursiveInternal() +175
    System.Web.UI.Control.PreRenderRecursiveInternal() +175
    System.Web.UI.Control.PreRenderRecursiveInternal() +175
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1016
     
  4. Hello,
    Have someone an explication about this? Sometimes it works, sometime it doesn't works. When it doesn't works, I just have to copy my web.config on the server, and all is anew ok... for a few hours! Its' annoying...
    Thanks,
    Fred.
     
  5. Elshadriel

    Elshadriel Winhost Staff

  6. Hi Elshadriel,

    I spook about web.config in my previous mail, but I had to speak about web.sitemap.

    I use ~ in my web.sitemap for all time, and it worked well before! When I copy my web.sitemap on the server, my website works again for a few hours (without changing anything in my web.sitemap). So I don't understand why suddenly my web.sitemap works only for a few hours...

    I've just checked now. My website didn't work anymore. I've done a copy-paste of my web.sitemap from the server to my PC. Then I've done a copy-paste of the same file from my PC to the server... and my website works now!!!

    An issue with the server is possible?

    Thanks a lot for you help.

    Regards,
    Fred.
     
  7. FredC

    FredC Winhost Staff

    Can you show us a way to replicate the problem? i want to run some test and see if i can reproduce it.
     
  8. FredC,

    Now is the site again out of order.
    So, you have just to copy web.sitemap from the server to your local drive. Then you copy the web.sitemap (saved on your local drive) to the server (with overide the existing file)... and magic the site works again well!

    Thanks for your researches.
    Fred
     
  9. FredC

    FredC Winhost Staff

    What is your domain? Which page do i hit?
     
  10. FredC

    FredC Winhost Staff

    been hitting the page but not getting any error. i'll keep trying.
     
  11. Now (saturday 9:10 AM UTC+1) it's down!
     
  12. Sunday 12:00 AM UTC+1: Site still down.
    I copy paste web.config from ther server to my local drive, then from my local drive to the server. And my site works again... until when... wait and see!
     
  13. Monday 6:00 AM UTC+1: site down :-( !
     
  14. ComputerMan

    ComputerMan Winhost Staff

    I was able to recreate the issue on my end when I visited your site. I recycled the application pool and your site came right up after the recycle was completed.

    You can also recycle the application pool through the control panel.

    Log in to the control panel.

    Click on the "Sites" tab.

    Click on "Manage" next to your site.

    On the next page click on "Recycle App. Pool" box.

    Now click on the green recycle app pool box to recycle the application pool.
     
  15. Indeed I saw it's was running again. But now, less than 12 jours after your operation, website is out of order again!
     
  16. FredC

    FredC Winhost Staff

    i am seeing the error now.. let me troubleshoot it. please do not recycle
     
    Michael likes this.
  17. FredC

    FredC Winhost Staff

    ComputerMan and Michael like this.
  18. Thanks. I'll read this article because my site is unfortunately again out of service!
     

Share This Page