Go4Expert

Go4Expert (http://www.go4expert.com/)
-   SQL Server (http://www.go4expert.com/forums/sql-server-forum/)
-   -   Error in Adding a New Connection (http://www.go4expert.com/forums/error-adding-connection-t4232/)

Rabi 8May2007 17:24

Error in Adding a New Connection
 
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 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.

Regards,

Raabi


All times are GMT +5.5. The time now is 18:11.