diver182

I have difficulties connecting to my SQL Server Express edition.

The Server and its SQL Browser are both running and named pipes are enabled,

even if I am not sure why it would return such an error since I only try to connect to my localhost.

My connection string is currently:

Data Source=localhost\SQLEXPRESS;Integrated Security=True;Pooling=False

the initial catalog is not yet set, because I try to use the connection (System.Data.SqlClient.SQLConnection) to create a new database by ddl.

The resulting error is:

provider: Named Pipes-Provider, error: 40

Connection to SQL-Server could not be established

Any suggestion greatly appreciated.



Re: .NET Framework Data Access and Storage Problem connecting to sql server express edition


Re: .NET Framework Data Access and Storage Problem connecting to sql server express edition

diver182

Thanks for pointing me into the right direction !