Re: Domain user in SysAdmin Role (SQL Server on Windows Vista)



How add a domain user in the sysadmin role of SQL Server 2005?

To add to Uri's response, you might also need to add the login before adding the login to the sysadmin server role:

CREATE LOGIN [ACOCACH\JOHN]
FROM WINDOWS;

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Max André Bündchen" <nospam@xxxxxxxxxxxxx> wrote in message news:FCB171E9-5EDD-4EA5-8467-4B07A507A298@xxxxxxxxxxxxxxxx
I installed Windows Vista from MSDN and SQL Server 2005 plus SP1. The SP2 is in CTP stage so I would don't install it for now.

Following this instructions I try solve the authenticate problem in Windows Vista for SQL Server 2005: http://www.microsoft.com/sql/howtobuy/windowsvistasupport.mspx

In my case the user account to add in sysadmin role is under a domain. The domain is ACOCACH and the user is JOHN. I try add that but the SQL Server 2005 don't find the ACOCACH\JOHN nor JOHN.ACOCACH even when I'm log in as JOHN in the machine (JOHN is admin of the machine). When I browsing the only local machine users are aviable for add as a sysadmin.

How add a domain user in the sysadmin role of SQL Server 2005?

.



Relevant Pages

  • Re: SQL2005: Cannot connect error 11001
    ... The famous Windows Firewall (turned on my Server from which I'm trying to ... Exception Details: System.Data.SqlClient.SqlException: Login failed for user ... Try starting the SQL Server ... if you changed the port ...
    (microsoft.public.sqlserver.connect)
  • Re: GRANT CREATE DATABASE versus GRANT ALTER ANY LOGIN
    ... server, and is a member of the sysadmin server role. ... could not grant "alter any login" permission to a domain login. ... server or it has been removed "sysadmin" server role. ... Microsoft Online Community Support ...
    (microsoft.public.sqlserver.security)
  • Re: error logging on SQL 2008
    ... I was, though, hoping for some more recognizable Reason for that error (state 11, " Token-based server access validation failed with an infrastructure error. ... Suggests that state 11 means "Valid login but server access failure", which doesn't really seem to rhyme with your description. ... How can you login to your SQL Server and use that tool if you can't log into your SQL Server? ... at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) ...
    (microsoft.public.sqlserver.server)
  • Re: Clearer version of my earlier question re sp_grantlogin and sp_grantdbaccess
    ... > file while you do changes, so the script file in the end contains the ... >> Server, doesn't have the right to grant DB access to Domain Groups. ... > Tibor Karaszi, SQL Server MVP ... >> site where they let me login as Domain Admin. ...
    (microsoft.public.sqlserver.msde)
  • Re: SQL 2005 Express setup
    ... Connect to your SQL Server Instance, ... Double click on the Login that you want to add to the "sysadmin" server role or right click on it and choose properties from the popup menu, ... Login is a member of the "sysadmin" fixed server role now. ...
    (microsoft.public.sqlserver.setup)