Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists.
From: Dan Guzman (danguzman@nospam-earthlink.net)
Date: 03/13/03
- Next message: chubbie: "expired site certificate"
- Previous message: CurtM: "Re: How to set Readonly for a user?"
- In reply to: Mukul Agochiya: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Next in thread: Allan Mitchell: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Reply: Allan Mitchell: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Dan Guzman" <danguzman@nospam-earthlink.net> Date: Wed, 12 Mar 2003 20:27:46 -0600
I haven't seen this behavior before. Assuming you are using Enterprise
Manager, it looks like EM isn't refreshing the collections properly as
you make modifications.
What version and service pack of SQL Server are you running? Please
provide the exact steps you took to produce the error.
-- Hope this helps. Dan Guzman SQL Server MVP "Mukul Agochiya" <magochiya@yahoo.com> wrote in message news:008601c2e8b8$157fd1c0$a301280a@phx.gbl... > 1. No restoration of database was performed. > 2. I do not see that user account as orphaned. > > But real issue is that this new user account is not being > saved with necessary permissions for the selected database. > > Mukul > > >-----Original Message----- > >Was the user database restored or attached? In this > case, you may have > >orphaned users. You can remedy this with > sp_change_users_login. > >Alternatively, you can drop the user from the database > using > >sp_revokedbaccess from Query Analyzer. > >See the Books Online for details. > > > >-- > >Hope this helps. > > > >Dan Guzman > >SQL Server MVP > > > >----------------------- > >SQL FAQ links (courtesy Neil Pike): > > > >http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800 > >http://www.sqlserverfaq.com > >http://www.mssqlserver.com/faq > >----------------------- > > > >"Mukul Agochiya" <magochiya@yahoo.com> wrote in message > >news:085901c2e8b3$50bba520$a501280a@phx.gbl... > >> I created a new user where we logged as 'SA'. I assigned > >> permissions to certain databases. While saving it, I got > >> this error message: > >> > >> Error: 21002: [ SQL-DMO] User "xxxxx" already exists. > >> > >> Can you please let me know how to resolve this. I know > >> that we can grant permissions using T-SQL. > >> > >> Secondly, if we delete this newly created user account, > >> then it is still visible under different user roles > >> defined earlier. It does not delete the user account > from > >> the roles completely. > >> > >> I will appreciate if somebody can give hint how to > resolve > >> these issues. > >> > >> Mukul > > > > > >. > >
- Next message: chubbie: "expired site certificate"
- Previous message: CurtM: "Re: How to set Readonly for a user?"
- In reply to: Mukul Agochiya: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Next in thread: Allan Mitchell: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Reply: Allan Mitchell: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|