I need help in an issue, as below.
After installing Visual Studio 2005, with SQL Server Express, on my PC; when I try to add a new connection 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 name of my PC)
Attach a database file: test.mdf (it is just for an example)
I have un-installed and re-installed the application twice but the problem persists.
I would appreciate any help.