Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006

    Unanswered: SQL Server Connection Error

    I have create a new database with a new user.. with the default SQL server port is 1433... Everything is run smooth.. But when i change the port to other, the database connection is not runable and display the error as [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

    I try to add in the code in database connection with :
    "solution : [oledb]
    ; Hardcoded TCP OLE DB initstring
    Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;User ID=clientID;Data Source=tcp:TcpIpAddress,port"

    But aso failed...

    So, anyone who can give me a hand... thanks..

  2. #2
    Join Date
    Nov 2004
    on the wrong server
    Provided Answers: 6
    on the client machine, go to the client network utility in your Start\Programs\Micorosft SQL Server program folder. Click on TCP\IP in your enabled protocols and click properties. Change the port number to match what you changed it to on the server.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

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