I have a project that was imported from VB 6.0 Pro. I am still using ADO. The code is designed to report data from Oracle. If the code is supposed to bring back a small amount of data it runs flawlessly. If it is to bring back a large amount of data it fails with the following error:
DisconnectedContext was detected
Message: Context 0x4140c0' is disconnected. Releasing the interfaces from the current context (context 0x413f50).This may cause corruption or data loss. To avoid this problem, please ensure that all contexts/apartments stay alive until the applicationis completely done with the RuntimeCallableWrappers that represent COM components that liveinside them.
This comes up in a small dialog rather than tripping into my error handler or simply stopping on a particular line. I don't know how to find exactly which line is failing other than examining which data it stops on in the output. This project is extremely important and I am stuck. Any help would be greatly appreciated.