More in this section

Forums / General Discussions / Best approach to move a Project to another Machine (BackendSiteMap error)

Best approach to move a Project to another Machine (BackendSiteMap error)

2 posts, 0 answered
  1. kamakaze
    kamakaze avatar
    1 posts
    Registered:
    30 Jul 2007
    13 Oct 2010
    Link to this post
    Hello,

    What is the best and proper approach when moving a Created Project from one Server to another (especially including the Database).

    Scenario currently:
    Boss said, create me a Demo for a Customer.
    I prepared a Virtual Machine for development.
    Did my mambo jambo and then the Task arrived to move the project to another machine including a Database dump.

    Obvious differences are:
    - Connection String in the "DataConfig" file is on my VM "Integrated Security" but on destination the "sa" user.
    - On my VM i use "Administrator" as user to develop.

    When moving the Site to another Location now including the Database, i get the following error (see attached screenshot):

    Invalid root node configured for pages. No root node with the name of "BackendSiteMap".


    Obviously something i do wrong.

    System (both)
    SQL Server 2008
    OS: Windows Server 2008
    Sitefinity: Beta 2 v 4.0.685.0
    IIS7 with .NET Framework 4.
    Visual Studio 2010

    Thank you in advance.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    13 Oct 2010
    Link to this post
    Hi kamakaze,

    This looks like a bug that appears in application initialization. Could you also try to create a user control and see what will be returned with the code below



    var pageMan = PageManager.GetManager("OpenAccessDataProvider");
    var node = pageMan.GetPageNodes().FirstOrDefault(n => n.Name.Equals("BackendSiteMap", StringComparison.OrdinalIgnoreCase));

    Could you delete the config files inside App_Data/Sitefinity/Configuration folder. This will re initialize the project again and you have to install it again.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered