Unable to cast object of type System.__ComObject

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

Hi,

Has anyone ever come accross this error message when calling a method from a
Serviced Component with activation set as a server application?

When I sent it as Library application everything runs just fine.

Thanks.

Tony
 
Tony,

What exactly are the parameters that you are passing? Also, because it
is a serviced component, are you defining interfaces for all of your
objects, and passing those around, instead of the object instances
themselves? It helps a lot when it comes to working with Serviced
Components.

Can you show more of what you are doing when the error shows up?
 

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