Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"User or Role already exists...."

Status
Not open for further replies.

BeckahC

Programmer
Joined
Oct 3, 2001
Messages
355
Location
US
I am trying to copy my whole database, logins and all, using a DTS Package (SQL Server 7.0). I have done this before and it's worked perfectly. This time, I have completed the transfer and went to "update" the logins so that they re register - not sure if that's what it's called, but I go into each login and re-enter the default database and their password and then their login becomes active on the new server. (We are using SQL security)

Anyway, this time I went in to update my own login (went in as SA) and it gave me the message "User or Role already exists in the current database" I was updating the existing login at the time, not trying to make a new one. I tried deleting my login and then adding it again and it told me the same thing....

Then I thought... maybe because I am an admin on the server? So I tried with a different login, for a user with no admin rights, and I got the same error.

Plus, when I look in the Users for the database - there are none except "dbo".

I am running Enterprise Edition of SQL Server 7.0 on the destination box and Standard Edition of the same on the source box. The only other difference I can think of is that The destination box has SP3 and the source has SP2.

Can these differences be the reason? Has anyone else encountered this problem? Does anyone have the solution?

Please help! I am way too far behind on this project to start again from scratch!!!

Thank you in advance for any and all suggestions! :-) BeckahC
 
Thanks, this seems to be doing the trick.... I'll have to test some more to be sure, but I think this is it! :-)

Thank you! BeckahC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top