InvokeDispMethod fails intermittently

  • Thread starter Thread starter RichB
  • Start date Start date
R

RichB

Hello,

I've developed an object that late binds to COM objects using
Activator.CreateInstance and <Type>.InvokeMethod.

The object is held within a ASP.NET application which is used heavily, thus
requiring the late binding to be activated regularly. Unfortunately, on
more than once occasion RuntimeType.InvokeDispMethod has thrown an
unspecified error.

Has anybody encountered similar problems and can anybody offer any kind of
solution?

Thanks in advance,

Richard Bower.
 
Hi Richard,

RichB said:
Hello,

I've developed an object that late binds to COM objects using
Activator.CreateInstance and <Type>.InvokeMethod.

Could you please explain what kind of COM object your instantiating?
It could be that the problem really exists there, and not in the late
binding/calling.
 
Lars,

Pretty basic C++ COM object, no transaction or state, IDispatch interface
that is sat in a COM+ package.

Thanks

Richard.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top