1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Error in Adding a New Connection

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

  1. Rabi

    Rabi New Member

    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
     

Share This Page