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