Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...What is the secret to moving SQL database?What is the secret to moving SQL database?
Previous
 
Next
New Post
5/29/2007 9:04 AM
 

I am running dotnetnuke 4.5.1 on a windows 2003 server and pointing to sql server 2005 on another windows 2003 server.

I need to rebuild the sql server box. so I want to move all my databases to a temporary server while rebuilding. I haven't been able to get my dnn sites working when I point them to the temp server. I changed the connections strings, gave full permissions to the file directory, and gave db_owner permissions to the user in sql server. I even tried to recreate the machine key by setting up a new instance of dnn and copying the key from it to my live site's web.config file. 3

Note: The new dnn installation works fine, but I need to get the live site working with the database on the temp server.

Does anyone know what the trick is to move the database from one server to another?

 
New Post
5/29/2007 5:30 PM
 

You want to migrate the database from one MSSQL Server to another?

 
New Post
5/30/2007 9:55 AM
 

If you are moving the db to another server you can do a backup from the one, and then a restore to the other.

You will then need to modify your connection strings in your DNN installation to reflect the settings for the new server. 


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
5/30/2007 10:17 AM
 

You shouldn't forget the user / login for the new server (the stored user is from another instance). 
The easiest way is to create a new login (databases->security->login) and add a new user with the new created login to your DNN database. Now grant every permission to your new user. To finish the migration the new user must be a member of the db_owner role. 

 
New Post
5/30/2007 11:53 AM
 

Thank you all for your responses, but I still am not able to get it working

jascht wrote

You want to migrate the database from one MSSQL Server to another?

In a nutshell... yes, that is what I want to accomplish.

mitchel.sellers@gmail.com wrote

If you are moving the db to another server you can do a backup from the one, and then a restore to the other.

You will then need to modify your connection strings in your DNN installation to reflect the settings for the new server. 

The way I copied the datbase to the new server was to back it up and restore it. I did change the connection strings to point to the new server/database/user.

jascht wrote

You shouldn't forget the user / login for the new server (the stored user is from another instance). 
The easiest way is to create a new login (databases->security->login) and add a new user with the new created login to your DNN database. Now grant every permission to your new user. To finish the migration the new user must be a member of the db_owner role. 

I know from past experience that I can't use the same user when moving to a new server. I did set up a new user and gave it db_owner permissions as well as reader/writer.

***I believe I'm doing everything right, so I'm really scratching my head. I have other ASP.Net sites that I did the same thing with that are not DNN and they are working without problems, so I believe it's something DNN does. The only thing I can think of is the machine key, since I recall hearing it was in place as some kind of security measure. If it is the machine key causing my problem, I don't know how to get past it. I'm just grasping here since I haven't got a clue why it isn't working.

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...What is the secret to moving SQL database?What is the secret to moving SQL database?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out