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!

Users in public..?

Status
Not open for further replies.

kenjoswe

Technical User
Joined
Sep 19, 2000
Messages
327
Location
SE
Hi all,

I have copied some databases from one server to another.
The users from the serverrole 'Public' in the database have been copied but not the login.

If I try to add a login to the new server and grant access to the database I get the message 'User or role already exists in the current database'

If I try to login with that specific loginname and password to the database I get the message; 'Access to the selected database has been denied'

I cannot delete the users in the database either.

What can I do?


/Kent J.


 
I believe you need to remove them from the role. Ashley L Rickards
SQL DBA
 
Logins and users can break when transferring a database from one server to another. Read the article about transferring and fixing logins at

Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top