Solved

SQL Server 2008 - Login Fails Using Windows Authentication for Member of Server Administators Group

Posted on 2010-09-12
5
367 Views
Last Modified: 2012-05-10
A coworker wiped SQL Server 2005 and installed SQL Server 2008 on a server named TEST.  I'm trying to login to the new SQL Server 2008, but the login fails.  See the text below.  
1. My user account is a member of TEST\Administrators.
2. The SQL Server is installed in mixed mode.

TITLE: Connect to Server
------------------------------

Cannot connect to GIS-TEST3.

------------------------------
ADDITIONAL INFORMATION:

Login failed for user 'GIS-TEST3\danaj1'. (Microsoft SQL Server, Error: 18456)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------
0
Comment
Question by:jdana
5 Comments
 
LVL 29

Accepted Solution

by:
Rich Weissler earned 84 total points
ID: 33656843
0
 
LVL 68

Expert Comment

by:Qlemo
ID: 33656951
If you have the sa account at hand, that is much easier - assign the SysAdmin role the Local Admin group.
0
 
LVL 42

Assisted Solution

by:EugeneZ
EugeneZ earned 83 total points
ID: 33656988
you must add 'GIS-TEST3\danaj1' to sql server logins
--there is no builtin\administrators login  in sql 2008 after install anymore (like in sql2005 and before) (way to give local wind admins sql server sa access)
contact the person who installed the sql2008 and ask to grant you sql permissions
0
 
LVL 2

Assisted Solution

by:ColinGordon
ColinGordon earned 83 total points
ID: 33657359
With SQL server 2008 the Builtin Administrators group (local admins) is no longer SQL admns.  The login used to install the database should be able to log in to the database.   If you can't use that login use the procedure in the link in the first answer.  
If you want to operate like in 2005 create a Windows local group - TEST\SQLAdmins - and create a SQL login with the sql admin role for that group.  Then any member of the group will be a SQL admin.
0
 

Author Closing Comment

by:jdana
ID: 33671963
Thanks guys.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now