• I do not think the error is connection string

    http://localhost:2132/HRHSKeyContact/HRHSKeyContact.aspx?hid=2

    it is view. it connected to remote database.

    http://computername/HRHSKeyContact/HRHSKeyContact.aspx (html file)

    it is viewable. web server is working.

    http://computername/HRHSKeyContact/HRHSKeyContact.aspx?hid=2

    it has database connection problem.

    An error has occurred while establishing a connection to the server. When connecting to 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 Pipes Provider, error: 40 - Could not open a connection to SQL Server)

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to 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 Pipes Provider, error: 40 - Could not open a connection to SQL Server)

    I do not have ms sql 2005 install in that server at all.