This error arises from the created COM proxy object, so your server object (the one that is being called) lives in another apartment, broadcast outside proc, or in another thread of the current process. Something very bad happened to this apartment, so it was terminated, and now the COM stub living there cannot be reached by proxy (via RPC or message pump).
source share