Visual Studio 2005 cannot connect to local SQLServer Express
Posted on 2006-05-18
I installed Visual Studio 2005. I am trying to connect to a local SQLServer Express instnace via the VS server explorer in order to make a new database and am getting the following error:
"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
Gahhhh!!!! I have tried changing settings in SQL Server configuration tool, but to no effect, and it seems that the default setting should have worked because this is a local connection, not remote. I shut off the firewall. Any ideas?