SQL2008 SQL Server Authentication method logon failure (Error 18456) notes

Source: Internet
Author: User
Tags microsoft sql server 2005

1 Installation Summary

Today changed the computer, a lot of software has to be re-installed, during the report a lot of problems, such as first loaded vs2008 and then installed SQL SERVER2008R2 will report a "There are 2008 early version", through the search, Baidu a series of road, I still put vs2008 uninstall after installing SQL Server 2008r2, and because the first load is vs2012, it stops working at run time, so after repeated attempts, the recommended order is SQL Server 2008r2,vs2008,vs2012.

2 SQL Server cannot authenticate with SQL Server

When everything was ready, I clicked on SQL Server trying to connect to the local database, but I had to report a mistake that could not be logged in.

So I have to find out the Baidu, a set or more useful ways to learn from the next.

1) First, enter the server with Windows authentication.

2) Next Find security, click Enter, locate the login named SA, and then right-click Properties.

3) Locate the general in the attribute, then check your account and password, and change the status to Enabled in the State, otherwise the disabled state is not operational.

4) Next, click on the server right-click Properties, change the server authentication in security, then click OK and a re-enable will pop up. Then click on the server to right-click Re-enable. Then disconnect and re-login with SQL Server. Remember! Make sure to restart the server after the modification is confirmed, or else the same problem will persist until he displays "OK to restart SQL Server" and click "OK".

5) If it is still an error, it is possible that the Configuration Manager network configuration is not set. The named pips and TCP/IP in the network configuration are set to Enabled. Reopen SQL Server and try to connect again.

6) may also report a 233 error, open ' programs '-' All Programs '-' Microsoft SQL Server 2005 '-' Configuration Tools '-' SQL Server Configuration Manager ', in the popup form, locate ' SQL Server 2005 Network configuration ', put ' MSSQLSERVER protocol ' Named Pipes ' and ' TCP/IP ' start, and then restart SQLSERVER2008R2 try to connect to succeed.

SQL2008 SQL Server Authentication method logon failure (Error 18456) notes

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.