Dear All,

I am beginner. I wanted to create a connection from VB 2005 Express to a database created with SQL Server 2005.

From the project I did this:

Add new data source, -> database -> New Connection -> Browse got the .mdf file, then click on OK, after waiting the following error occurs:

"An error has occured while establishing a connection with 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: SQL Network Interfaces,error: 26 - Error Locating Server/Instance Specified)

I can't find how to correct this, please help! Note that I use SQL Server 2005
(not express).

Thank you in advance,