I have been trying all kinds of tricks - from enabling TCP/IP, adding exception to firewalls to poking bill gates vodoo doll. But nothing seems to work for me. Is it really that difficult to connect to sql server 2008 via management studio ? Maybe, robbing a bank would be easier.
While i figure out which bank to rob, can you help me to fix the problem ?
When I try to login to sql server 2008, this is the error i get- 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
The links i tried so far -
blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/
and some more random links on the net.
netstat -nbafrom an elevated DOS prompt. You should seeTCP 0.0.0.0:1433 0.0.0.0 LISTENINGandMSSQLSERVERon the next line under it. If you don't see this, SQLServer isn't listening on port 1433. - James L.netstat -nbafrom an elevated DOS prompt. Look for0.0.0.0:1433. Is MSSQLServer listed under it. Or look for MSSQLServer. What does the TCP line read just above it? - James L.