Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists.
From: Mukul Agochiya (magochiya@yahoo.com)
Date: 03/12/03
- Next message: Gert E.R. Drapers: "Re: xp_qv -- Extended Stored Procedure"
- Previous message: Dan Guzman: "Re: Developers and prod servers"
- In reply to: Dan Guzman: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Next in thread: Dan Guzman: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Reply: Dan Guzman: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Mukul Agochiya" <magochiya@yahoo.com> Date: Wed, 12 Mar 2003 08:54:45 -0800
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: Gert E.R. Drapers: "Re: xp_qv -- Extended Stored Procedure"
- Previous message: Dan Guzman: "Re: Developers and prod servers"
- In reply to: Dan Guzman: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Next in thread: Dan Guzman: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Reply: Dan Guzman: "Re: Error 21002: [ SQL-DMO] User "xxxxx" already exists."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|