DisconnectedContext was detected

bjwade62

Well-known member
Joined
Oct 31, 2003
Messages
104
Im really new to .NET and am trying to convert some of my VB6 apps. Im using a COM component. Im getting the following error at runtime. Can anyone explain it to me in laymans turns and suggest a fix? Thanks!


DisconnectedContext was detected
Message: Context 0x1a07a8 is disconnected. Releasing the interfaces from the current context (context 0x1a0358).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.
 
What is the COM component in question? Do you know if the component has any special threading requirements (Single-Threaded or Multi-Threaded Apartment)?
 
Back
Top