Message 1 of 2
Disconnected Context
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I wrote a program that starts a new drawing, inserts some blocks, saves the drawings, and then closes the drawing. It runs in a loop sometimes a hundred at a time. Sometimes on the line that either creates a new drawing or closes the drawing I get a Disconnected Context Error. The details are below. The only way I can fix it is to uninstall Civil3D and install it again. It has happened to me in both 2021 and 2022.
Managed Debugging Assistant 'DisconnectedContext' : 'Transition into COM context 0xa91d91e8 for this RuntimeCallableWrapper failed with the following error: System call failed. (Exception from HRESULT: 0x80010100 (RPC_E_SYS_CALL_FAILED)). This is typically because the COM context 0xa91d91e8 where this RuntimeCallableWrapper was created has been disconnected or it is busy doing something else. Releasing the interfaces from the current COM context (COM context 0xa91d9438). This may cause corruption or data loss. To avoid this problem, please ensure that all COM contexts/apartments/threads stay alive and are available for context transition, until the application is completely done with the RuntimeCallableWrappers that represents COM components that live inside them.'