Solved

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

Posted on 2010-09-12
5
387 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 30

Accepted Solution

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

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 43

Assisted Solution

by:Eugene Z
Eugene Z 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

688 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