"The object invoked has disconnected from its clients"

R

raulavi

VS2005 gets this error "The object invoked has disconnected from its clients"
does anyone know about a fix for it?
 
F

Family Tree Mike

It can happen when a COM server application is closed, but your external
application has created an object and still has a hold of the object. I
believe if you automate to word, create a document in code from the
application object, then [x] the word window this will occur.

Does this sound like your scenario?
 
R

raulavi

thanks
no, it just that when in debugging mode somehow this error pops, still dont
know when or why.

Family Tree Mike said:
It can happen when a COM server application is closed, but your external
application has created an object and still has a hold of the object. I
believe if you automate to word, create a document in code from the
application object, then [x] the word window this will occur.

Does this sound like your scenario?

raulavi said:
VS2005 gets this error "The object invoked has disconnected from its clients"
does anyone know about a fix for it?
 
L

langkawi21

I'm having the problem described,
Do you know how to gracefully handle this error. For example, I want
to restart the COM server application if it has been closed using the
[x].

It can happen when a COM server application is closed, but your external
application has created an object and still has a hold of the object. I
believe if you automate to word, create a document in code from the
application object, then [x] the word window this will occur.

Does this sound like your scenario?

raulavi said:
VS2005 gets this error "The object invoked has disconnected from its clients"
does anyone know about a fix for it?
 
R

raulavi

sorry, no solution yet, on my case I have to right click on the VS icon on
tool bar twice then the ide continue and closes my debugging thread.

the right click is just to wake up the ide (no words but actions to describe
this weird bug)

I'm having the problem described,
Do you know how to gracefully handle this error. For example, I want
to restart the COM server application if it has been closed using the
[x].

It can happen when a COM server application is closed, but your external
application has created an object and still has a hold of the object. I
believe if you automate to word, create a document in code from the
application object, then [x] the word window this will occur.

Does this sound like your scenario?

raulavi said:
VS2005 gets this error "The object invoked has disconnected from its clients"
does anyone know about a fix for it?
 
R

raulavi

what OS are you running on?
am on vista

I'm having the problem described,
Do you know how to gracefully handle this error. For example, I want
to restart the COM server application if it has been closed using the
[x].

It can happen when a COM server application is closed, but your external
application has created an object and still has a hold of the object. I
believe if you automate to word, create a document in code from the
application object, then [x] the word window this will occur.

Does this sound like your scenario?

raulavi said:
VS2005 gets this error "The object invoked has disconnected from its clients"
does anyone know about a fix for it?
 

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

Top