none
Problem connecting to sql server express edition RRS feed

  • Question

  • 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.

    Sunday, October 7, 2007 5:56 PM

Answers

All replies