Hi, I'm in the process of copying an Umbraco site (4.7.1) from one server to a new server.
I have copied the db and restored it into a new server/database (sql express 2008 version). I have copied the necessary files.
However I ran the umbraco install, and entered the database details in step 3, it failed saying could not establish connection, I then went and looked at the web.config, and it is blank? How can I point the umbraco install at my new server / database ?, is it embeded somewhere in a dll or something?
Should I re-run the umbraco install, if so how do I do that now, as I cant get to the install pages now?
If you are just copying over, normally yiou do not have to re-run the install. Just copy the files over, and then restore the DB into your new DB server. The connectionstring to the DB is located in the web.config file, under the key "umbracoDBDSN" or something similar (don't have currently access to an actual web.config from here).
Just modify the server address and user name-password in there, and everything should be running fine again.
Cheers,
Michael.
PS: for the record, I just moved a site from one of my client yesterday by doing jkust like that.
Connection string is blank?
Hi, I'm in the process of copying an Umbraco site (4.7.1) from one server to a new server.
I have copied the db and restored it into a new server/database (sql express 2008 version). I have copied the necessary files.
However I ran the umbraco install, and entered the database details in step 3, it failed saying could not establish connection, I then went and looked at the web.config, and it is blank? How can I point the umbraco install at my new server / database ?, is it embeded somewhere in a dll or something?
Should I re-run the umbraco install, if so how do I do that now, as I cant get to the install pages now?
Hi Darren,
If you are just copying over, normally yiou do not have to re-run the install. Just copy the files over, and then restore the DB into your new DB server. The connectionstring to the DB is located in the web.config file, under the key "umbracoDBDSN" or something similar (don't have currently access to an actual web.config from here).
Just modify the server address and user name-password in there, and everything should be running fine again.
Cheers,
Michael.
PS: for the record, I just moved a site from one of my client yesterday by doing jkust like that.
Thank you, I don't know why I didn't spot the connection string before ! - guess I have been looking at it too long :-)
All up and running now.
thanks again,.
Darren.
You're welcome :-)
Great to hear it works!
Cheers,
Michael.
is working on a reply...