I'm getting the follow error message randomly and then my application
crashes. How can I locate the bug code and how can I fix this?
Managed Debugging Assistant 'DisconnectedContext' has detected a problem in
'C:\Projects\UnityAdmin\bin\Release\UnityAdmin.vsh ost.exe'.
Additional Information: Context 0x18fac8' is disconnected. Releasing the
interfaces from the current context (context 0x18f978).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.
--
Thanks.