Solved

sql2008 cant connect to local host

Posted on 2010-11-30
5
463 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
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.

729 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