Login Failed for User ". (Microsoft SQL Server Error: 18456

Posted on 2009-05-17
Last Modified: 2012-05-07
I installed MS SQL Server 2005 on my computer. I am using Vista. After installation, SQL Server was giving a compatibility error so I downloaded/installed SQL Server 2005 server pack 1for vista. Now, I can't login to SQL Server.
It gives the error:
Login Failed for User ". (Microsoft SQL Server Error: 18456

I also have MS SQL Server Express installed on my computer and I can login to that without any problem.
Any ideas? thoughts?

Thanks much
Question by:martyje
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
  • 4
  • 3
  • 2
  • +1

Expert Comment

ID: 24409105
Try the latest Sql Server Service Pack 2 and see if the same problem persists.

You can use these packages to upgrade any of the following SQL Server 2005 editions:

    * Enterprise
    * Enterprise Evaluation
    * Developer
    * Standard
    * Workgroup

Note: To upgrade SQL Server 2005 Express Edition, obtain the SP2 version of Express Edition or Express Edition with Advanced Services.

Note 2: SQL Server 2005 Service Pack 2 (SP2) is designed to run on Windows Vista and Windows Server "Longhorn."

Author Comment

ID: 24409125
Sorry, just a correction, I have installed service pack 3. so that would be the latest one I think.
Still I should install service pack 2?
Also I am using "Enterprise Evaluation" version for 180 days.


Expert Comment

ID: 24409170
My mistake, i have service pack 2 and thought that was the latest. As for your problem, the enterprise edition will only run on the following Operating Systems:

Windows Server 2003, Standard Edition*
Windows Server 2003, Enterprise Edition*
Windows Server 2003, Datacenter Edition*
Windows Small Business Server 2003 Standard Edition
Windows Small Business Server 2003 Premium Edition
Windows 2000 Server**
Windows 2000 Advanced Server**
Windows 2000 Datacenter Server**

Quoteing Microsoft,"In an effort to provide customers with more secure products, Microsoft Windows Server 2008 and Microsoft Windows Vista are supported by SQL Server 2005 Express Edition Service Pack 1 (SP1), and for all other editions will be supported by SQL Server 2005 Service Pack 2 (SP2) or later when it becomes available."
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Author Comment

ID: 24409213
Thanks for googling, have read most of those articles, sorry but that's totally irrelevant information.

Expert Comment

ID: 24409221
then try uninstalling and then again installing

Author Comment

ID: 24409229
So, what would you suggest?
Un-install SQL Server 2005, and maybe install MS SQL Server 2008?
Any thoughts?

Expert Comment

ID: 24409292
I looked at the Microsft website and it looks the like the Enterprise edition, regardless of the release, will not support Vista. You have to use the express or standard edition. I suggest you try the Standard edition of SQL Server 2008.

The editions which support Vista are:
SQL Server 2008 Express
SQL Server 2008 Standard
SQL Server 2008 Developer
SQL Server 2008 Workgroup
SQL Server 2008 Web
LVL 13

Accepted Solution

St3veMax earned 500 total points
ID: 24410424
You need to use the Vista Provisioning tool in order to add your local access.

It should be in the Programs folder o[n your machine.


Author Comment

ID: 24414729
Awesome, you the man.
Provisioning tool solved the problem. Thanks much.
Just a small clarification for myself and other developers, "User Provisioning" is SQL Server Tool.

Featured Post

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
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 backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

635 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