Error Connecting to Third Party App via COM: mscorlib Exception from HRESULT: 0x80040202

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2009-09-29T15:20:49Z Indexed on 2010/04/03 15:03 UTC
Read the original article Hit count: 471

Filed under:
|
|

One particular user is getting an exception when connecting an application I created to a third party app using COM. The connection fails with the following error:

Source: mscorlib
Message: Exception from HRESULT: 0x80040202

This software works fine for other users.

Any ideas what could be going on?

The error occurs just before the app adds some event handlers to some of the COM objects from the third party app. It is able to successfully instantiate the objects, though.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET