locked
Communication Link Failure??? RRS feed

  • Question

  • Hai,

        Iam using VC++ application to connect remote database(MSSQL) through network.

    Everything works fine, if the network connection is active. If the network breaks and resumes, the application throws "Communication Link Failure" and do not get connected even after the network is resumed.

    Client :

      * Windows 2000 Professional

      * MDAC 2.5

      * VC++, using framework- CRecordset to access database

      * PEER to PEER network configuration

      * DSN through ODBC

    Server :

      * Windows 2000 Professional

      * MDAC 2.8

      * MSSQL Server

        how to resume the database connection ??

        Any one help me????

     

      Thanks in advance,

     

    Monday, August 28, 2006 3:08 PM

Answers

  • If an existing connection fails due to broken network connectivity the client application must open a new connection to the server. 

    Does the new connection fail as well?  If so, what is the full error message text? 

     

    Monday, August 28, 2006 6:52 PM

All replies

  • If an existing connection fails due to broken network connectivity the client application must open a new connection to the server. 

    Does the new connection fail as well?  If so, what is the full error message text? 

     

    Monday, August 28, 2006 6:52 PM
  • No..if the application is restarted the connection resumes..

    Do i have to make a new connection after the broken network connectivity?? Is there any other solution without reconnecting??

    Tuesday, August 29, 2006 4:43 AM
  • Yes, you have to make a new connection after the broken network connectivity. 

     

    Wednesday, August 30, 2006 8:01 PM
  • Thank you..
    Thursday, August 31, 2006 3:59 AM