Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection handle is invalid
Message
De
30/11/2012 18:13:56
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01558490
Message ID:
01558512
Vues:
38
Are you sure that your update CA is using the same connection as the selects?

>>Hi,
>>
>>I have a situation when on the TableUpdate() I get error "Connection handle is invalid." And the same program but with a different database, in the same place, does not work without error. The VFP application is using CursorAdapter to update SQL Server database. Can this type of problem be caused by some difference in the database table? Or what can I check in the debugger prior to calling TableUpdate() that would give a clue is where the problem may be?
>>TIA.
>
>Just wanted to add something. I am sure that the application is not dropping the connection to the server. Because, right after I get this message (Connection handle is invalid), I go to a different window and add a record to the same table which calls TableUpdate() and it works. So it must have something to do with one particular application window. And even that is not consistent; works on some database and not on another.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform