Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > Migrating to New Server View modes: 
User avatar
Member
Member
bsatish417-gmail - 6/13/2011 6:29:38 PM
   
Migrating to New Server
HI ,

We have an installed version of kentico on a dev Server & custom modifications are done to portal & database ( like adding custom columns , custom tables etc )

Now we need to move every thing to new Server .

What is the best way of doing this ?

Do we need to again install Kentico from scratch on the new Server & apply all these changes manually

(or)

can we do some thing like back up & restore for Portal & Kentico DataBase Both ?

Thanks
Satish

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 6/13/2011 10:42:04 PM
   
RE:Migrating to New Server
Hi Satish,


I would recommend you to copy the project folder and database to the live server. Please see here for more information: Deployment to the live server (the Alternative approach section).


Best regards,
Helena Grulichova

User avatar
Member
Member
jgeurts-laughlin - 4/25/2012 9:53:23 PM
   
RE:Migrating to New Server
I have followed the alternative approach section, but when I bring up the site, it redirects to cmsinstall/install.aspx. I did update the connectionstring to point to the new database location. Any reasons why the cms install screens would show up and not have the cms load as normal?

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 4/26/2012 3:42:56 AM
   
RE:Migrating to New Server
Hello,


this happens only when the application does not see the connection string in web.config. Can you check the configuration in web. config? It should be:

<connectionStrings>
<clear/>
<add name="CMSConnectionString".... >
</connectionStrings>

Esp. the <clear/> element must be before the connection string.


Best regards,
Helena Grulichova

User avatar
Member
Member
jgeurts-laughlin - 4/26/2012 7:17:37 AM
   
RE:Migrating to New Server
Yep, my connectionStrings element looks like that. The interesting part is that the cmsinstall page only allows "Use existing database" with the proper database name filled out. The "Create Kentico CMS database objects" checkbox is checked but disabled. Clicking next causes the installer to fail as those tables already exist.

This is version 6.0.4297

User avatar
Member
Member
jgeurts-laughlin - 4/26/2012 9:45:50 AM
   
RE:Migrating to New Server
Looks like it was an issue with the database account not being assigned as db_owner for the database. After they were mapped as owner, the site comes up as expected.