Information générale
Forum:
Microsoft SQL Server
Versions des environnements
SQL Server:
SQL Server 2008
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement