Monday, September 12, 2011

Can't connect to SQL Server 2005 remotely

Error message:

"A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 28 - Server doesn't support requested protocol) (Microsoft SQL Server, Error: -1)"

Solution:
Open "SQL Server Configuration Manager", goto "SQL Server Network Configuration", enable "TCP/IP" and "Name pipes".

No comments: