Solved

sql2008 cant connect to local host

Posted on 2010-11-30
5
462 Views
Last Modified: 2012-06-27
Hi experts,

   New to SQL2008 and for some reason I cant connect to the local host....

Here are my steps.

1. Server Type : Database Engine
    Server Name: (local)
    Authentication: Windows Authentication

I click connect and I get this:

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

Cannot connect to (local).

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

Login failed for user 'MAIL\RSHIER'. (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
------------------------------


Any Ideas on what I am doing wrong???
0
Comment
Question by:HawaiiDragon
[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 10

Accepted Solution

by:
WayneATaylor earned 500 total points
ID: 34242307
That sounds like the user MAIL\RSHIER doesn't have access rights to the SQL server.

Try logging on as a domain or lo cal admin user. You then need to go into the SQL Manager console and give the correct user access rights.

Wayne

0
 
LVL 7

Expert Comment

by:Cboudroz
ID: 34242314
did you give access to your user MAIL\RSHIER?

if not log to the server using the "SA" account or local windows administrator account and add right to your user: MAIL\RSHIER after you should be able to connect whit your normal user.


0
 
LVL 5

Expert Comment

by:rotech_IT
ID: 34242361
Is this a new install of sql server on windows server 2008?  You needed to run the Vista Provisioning tool which is an option at the end of the sql server installation, do you recall running this tool?

If this is a fresh install and you're new to sql server(ie it doesn't have any data or databases loaded on it), it's probably easiest to uninstall sql server completely.  Then reinstall and ensure that you run the provisioning tool at the end of setup.

If you feel more comfortable with sql server then you can accomplish the tasks manually, just let me know if you want to go that route instead.

0
 
LVL 5

Expert Comment

by:rotech_IT
ID: 34242383
I'm sorry, I just realized you're running SQL Server 2008, so user provisioning shouldn't be necessary.  The following link should help you:

http://serverfault.com/questions/120215/user-provisioning-tool-for-sql-server-2008
0
 

Author Comment

by:HawaiiDragon
ID: 34243216
I tried to log into it as an administrator and it still would not let me get to the local host aspect
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

749 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