Best approach to move a Project to another Machine (BackendSiteMap error)
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):
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));