Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2008
    Posts
    2

    Unanswered: sql server connection problem

    Hi,

    I have a problem to create a connection to a sql server 2005 database.
    We have a server with two instances of database, one is called sql2005

    from the webserver we try to make a connection, no succes.

    there is a rule added to the isa to forward requests to the dbserver

    to error i get is the following:

    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: TCP Provider, error: 0 - No such host is known.)

    Allow remote connections is enabled if i check it on the server..

    Anyone with a solution ?

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    That is, unfortunately, a kind of "default" error message, and the problem is rarely actually due to the server not allowing remote connections.

    But there is not enough information contained in your post for me to suggest other solutions.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  3. #3
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Checked your connection string?
    www.connectionstrings.com
    George
    Home | Blog

  4. #4
    Join Date
    Jan 2008
    Posts
    2
    i found the solution
    because of the multiple instances of sql server on the server we had to select a different port (not 1433).

    I found this in the SQL Server configuration manager.
    --> SQL Server 2005 Network Configuration
    --> Protocols for SQL2005
    --> TCP/IP
    --> Tab IP adresses
    --> the value in TCP Dynamic ports was the one i apparantly needed

    This has been driving me mad, esp. when you have to wait as long as I do to get some configuration done on your isa ;-)

    Thanks for your replies

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •