TITLE: Connect to Server
Cannot connect to localhost.
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)
I keep getting this error when trying to connect to sql server. I also ran a repair and I got this error.
Could this be the problem and do you have any idea how I can repair it. I have looked all over Google and tried quite a few solutions with no luck.
I am Using SQL Server 2008 R2 Developer Edition