SQL Server installation really have a lot of problems AH!! So I decided to write a memo, convenient and convenient for others.
1. Download the installation package
2. Open the installation package, encountered restart computer there failed error, resulting in unable to continue, the first thought that the installation package problem, later found not, the action is as follows:
Start-and-run regedit-> set the value of the following registry key to null:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Control\Session Manager\pendingfilerenameoperations.
3. Installation is not a problem, the problem is that you cannot connect after loading. The following error occurred:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or could not be accessed. Verify that the instance name is correct, and that SQL Server is configured to allow remote connections. (provider: Named pipe provider, ERROR:40-Unable to open connection to SQL Server)
Go to SQL Server Configuration Manager and discover that none of the servers are:
At this time, find the installation or delete the list, the SQL Local Service uninstall, uninstall, you can see: The red box that started.
4. Open SQL Server Management Studio again this time if you find that the connection is still not connected, open the above window again, SQL Server Configuration Manager:
Start TCP/IP, now try again can link, if not yet ... Right-click TCP/IP, tap properties:
When you are done, locate the firewall:
Click: Inbound rule:
The new port is ready for you. At this point, open SQL Server Management Studio, and (local) you can connect. Authentication with local windows.
Tonight to the computer room brush problem, brush the title back to continue to install, and then succeeded ~\ (≧▽≦)/~ happy!! Come on ~ ~ Good Night (*^__^*) hehe ...
SQL Server 2008 installation (LPT pro-Test)