Re: Group Already Exists

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Geoff N. Hiten (SRDBA_at_Careerbuilder.com)
Date: 01/10/05


Date: Mon, 10 Jan 2005 14:55:48 -0500

Update your client tools to SP3a. You can then see 'orphaned' users,
including Windows-based users, in your database. You can then delete the
database user before re-adding it. 'sp_change_users_login' only allows you
to fix SQL-based logins.

-- 
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"John E Davis" <JohnEDavis@discussions.microsoft.com> wrote in message
news:B6D1B78F-29B5-4AAC-A2CE-FCF1D9D546CF@microsoft.com...
> I have run the "sp_change_user_logins" to create accounts that were
already
> lodged in a database to the new SQL server.
>
> I have a Windows Group that I would like to recreate the SQL login for but
I
> get an error when I manually try to create the account stating that the
> account already exists.
>
> I don't see a Stored Procedure for the Groups other then "changegroup" but
> that just changes a users setting for an existing group.
>
> So the question is, HOw do I bring that Windows Group that already exists
in
> the database so that I can create a SQL logon for that Windows Group.
>
> Thanks


Relevant Pages

  • Re: Managing SQL database rights using AD
    ... logins to SQL Server. ... You would add these two logins you ... just added as users in the database. ... the Windows group that you just added as logins (and then ...
    (microsoft.public.sqlserver.security)
  • Re: Saving WSS site prior to upgrading SQL Server 2005 Express to Standard/Enterprise
    ... Your backup is from a different version of Windows SharePoint Services and ... SQL Server 2005 is available. ... The advantages of the embedded version ("Windows Internal Database") over ...
    (microsoft.public.sharepoint.windowsservices)
  • IIS / SQL Server impersonation
    ... I am attempting to implement impersonation from a windows application ... I have configured the host virtual directory in IIS to require windows ... the database permits Windows Authentication. ... When I try and open a connection to SQL Server: ...
    (microsoft.public.dotnet.security)
  • Re: trouble moving db to 2005 from 2000
    ... using windows authentication and logged in under my windows account) in ... The error "The proposed new database owner is already a user or aliased in ... create user rudolf ... You are only "sa" within SQL Server. ...
    (microsoft.public.sqlserver.programming)
  • Re: Cannot link to SQL server
    ... When I click on the database file, ... Windows needs to know the program you want to use to open it. ... Opening SQL Server Management Studio ... I then get another dialog 'Create a New Data Source to SQL ...
    (microsoft.public.access.externaldata)