Error in Adding a New Connection

Discussion in 'SQL Server' started by Rabi, May 8, 2007.

  1. Rabi

    Rabi New Member

    Mar 15, 2007
    Likes Received:
    Trophy Points:
    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.



Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice