Go Premium for a chance to win a PS4. Enter to Win


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

Posted on 2009-05-17
Medium Priority
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
  • 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."
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.


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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

972 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