VB Express can't connect to anything



I installed the latest version of VB Express & SQL Express with no trouble. VB fails to connect to any database -- even the sample applications fail with an SQL Exception:

System.Data.SqlClient.SqlException was unhandled
Class=20
ErrorCode=-2146232060
LineNumber=0
Message="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)"
Number=2
Server=""
Source=".Net SqlClient Data Provider"
State=0

Since everything is on my local PC why would there be a reference to remote connections?

I'm sure this is something simple -- but what?

Thanks

Birk Binnard
.



Relevant Pages

  • Re: provider: Named Pipes Provider, error: 40 - Could not open a c
    ... I have tried connecting to Sql Management Studio and it worked pretty much ... An error has occurred while establishing a connection to the server. ... under the default settings SQL Server does not allow remote connections. ... I have a sql server install / database on the web server. ...
    (microsoft.public.sqlserver.connect)
  • .Net framework error
    ... Unfortunately the information is very limited and usually the report just ... The application is a front end for a SQL Server 2005 Express database, ... connection string in the app config file. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: connect to named instance w/ non-default port
    ... SQL Native Client Configuration. ... An error has occurred while establishing a connection to the server. ... under the default settings SQL Server does not allow remote connections. ...
    (microsoft.public.sqlserver.connect)
  • Re: Connecting to SQL w/ADO
    ... Again, I suggest picking up ... I would not use the ODBC provider to access SQL Server. ... but the SQL connection is new territory for me. ...
    (microsoft.public.vb.database)
  • Re: Login failed for user . The user is not associated with a trusted SQL Server connection.
    ... run under a domain account with access the sqlserver. ... want to connect to an SQL 2005 server running on Windows 2003. ... My SQL server is set ... server with that, it reports that the test connection is successful, ...
    (microsoft.public.dotnet.framework.aspnet)