Add Connection error

Abbasi

Member
Joined
Nov 2, 2005
Messages
17
Location
Pakistan
Programming Experience
3-5
Hi everybody

I need help in resolving an issue, as below.

After installing Visual Studio 2005, with SQL Server Express, on my PC; when I try to add a new connection, using Add Connection dialogbox, it reports the following error:

"An error has occurred while establishing a connection to the server. When connecting to the 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 Pipe Provider, error: 40 - could not open a connection to SQL Server)"

I am using the following parameters:

Data Source: Microsoft SQL Server (SqlClient)
Server name: Desktop (this is the only name available in the Drop-down list)
Attach a database file: Fullpath of test.mdf (using Browse button)

I have un-installed and re-installed the application twice but the problem persists.

I would appreciate any help.

Regards,
 
Back
Top