Best approach to move a Project to another Machine (BackendS

Posted by Community Admin on 03-Aug-2018 10:53

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

All Replies

Posted by Community Admin on 13-Oct-2010 00:00

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.

Posted by Community Admin on 13-Oct-2010 00:00

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

This thread is closed