Learn More





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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Move DNN project old domain to new domainMove DNN project old domain to new domain
New Post
9/26/2013 6:45 AM


   I moved my DDN project from old domain to new domain. I just took backup of both database and code and created project on new server. But now unable to log in , I can create new user that I see in DB but still not able to log in with either of the user details. 

   Reason for migration is I have to upgrade from DNN6 to DNN7 and also need to add some functionality. Thats why have to move it on dev.

              Please help me to resolve this issue.






New Post
10/1/2013 11:43 AM
What happens when you try to login, do you get any errors?

Check to make sure the web.config hasn't been modified other than the SQL connection strings, for the new server.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee Software Solutions DotNetNuke Module Development, Upgrades and consulting. a chat room for DotNetNuke discussions
New Post
10/1/2013 5:10 PM

Be sure the 'Maschine Key' on your web.config file would NOT be changed and is still the same as on your old instance.  Be sure the Login Name on the new SQL Servers Database User is added.  Check it using the SQL Management Studio, go to Database/Security/Users/ and check the Settings of the DatabaseUser you are using.  The Login Name should not be empty!  The Login Name could be found on the SQL Servers Security tab.

To Change the user Login you can use this on SQL Management Studio with a  new Query:

/***Start Script***/

use <your databaseName>

EXEC sp_change_users_login  'Update_One', '<your db UserName>', '<your SQL Server LoginName>';

/***End Script***/


New Post
10/3/2013 12:23 AM
I did not make any changes in web config other than connection string for new DB. Machine Key is same as in old server. One more thing when I move it on my development environment on my local PC it works fine.

But when move to actual environment where I have to actually move getting error "Login Failed. Please remember that passwords are case sensitive". I do similar change as I do for my local PC setting.

Please give me a solution as its urgent to move :)

New Post
10/3/2013 6:05 AM
Have you completly read my post?  I think not.  If you moved the database to an other Server the database user name on the SQL Database is not mapped with the System Login Name.  Check this on your database using the MS SQL Managemnt Studio. If I am right run my script on a new query to add the Login Name to the database username!
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Move DNN project old domain to new domainMove DNN project old domain to new domain

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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?