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 ...Moving database from SQL ExpressMoving database from SQL Express
Previous
 
Next
New Post
5/19/2007 4:16 AM
 

Actually the database itself (MSSQL Server 2005 Standard - Express  - or Enterprise) is the same. The only thing to pay attention is the pair user - login from the old database is not the same from the new one. I recommend delete the old one and create a new one (with the same name) 

 
New Post
5/19/2007 6:40 AM
 

You can certainly us the same login you had on your original DB install, but you will need to run a script (see below) to correct the orphaned SID of that user. So in short, after your DB transfer, create the same login for your new DB as it is in your web.config and run the following script (2 parts) in query anaylizer to fix the orphaned SID (replace the values in brackets with your own) .

 

--Detect orphaned users

USE [YOUR_DB];
GO
sp_change_users_login @Action='Report';
GO

--Resolve an orphaned user

USE [YOUR_DB];
GO
sp_change_users_login @Action='update_one', @UserNamePattern='[YOUR_USER]', @LoginName='[YOUR_USER]';
GO

 

HTH



 
New Post
5/19/2007 9:14 AM
 

Hi cjsmitty, 
where' the SP to be found (either at db master nor on dnn db)?

 
New Post
5/19/2007 9:23 AM
 

The SP is installed natively. It is located 'master\programability\stored procedures\system stored procedures'.

 



 
New Post
5/19/2007 9:34 AM
 

Ok, thanks i found it. I took a look into the code - i think i repairs the schema but so far i understood not the roles?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Moving database from SQL ExpressMoving database from SQL Express


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