Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unknown(x) data session causing app crash
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00176195
Message ID:
00176552
Vues:
25
>>Using VFP6 on Win98 machine.
>>
>>Using private data sessions on my forms, intermitanntly, when the form is released, the data session goes to unknown(x), and the app crashes when I close it. It doesn't crash until exiting the the app or program that called the form.
>>
>>The error is the 'C000005' that i've seen in many threads, but none addressed it in this context.
>>
>>Please help
>>
>>Thanks,
>>
>>Dean
>
>Unknown datasessions are usually caused by open transactions that require an END TRANS or ROLLBACK or modified buffers that need a =TableUpdate or =TableRevert. Beyond that, if you've created cursors in things like comboboxes but they are not listed in the DE, then they may not close causing the datasession to be unable to close because a cursor still exists in it.
>
>Steve

Thanks to all for the many responses. There are numerous threads going about this error, many getting it for diffent reasons. For me, I have gotten rid of the errors (for now) by getting rid of the nav toolbar launched by my doform() method of the app_application (VFP6 App builder). I am also removing most of the calls to this objects methods. I thought I might add some feature to my app by using this framework. Some Feature were added alright! Anyway, serveral weeks lost fighting it, and a deadline approaching way too soon...

I'm keeping it as simple as I can now.

BTW, I wasn't doing transaction, and the error would occur without touching a field. No editing, nothing.

Thanks again for all your help.

Dean
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform