provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

Discussion in 'Site Programming, Development and Design' started by pilixonis, Sep 15, 2010.

  1. Hello

    I uploaded yesterday a site and while it was working properly on my local MSSQL server it suddenly gave me this error

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

    Do you have any suggestion on what is going wrong?
     
  2. Ray

    Ray

    This is typically the connection string. Make sure the connection string is pointing to the SQL 2008 server.
     

Share This Page