Click here to Skip to main content
14,934,046 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
system.runtime.interopservices.comexption(080010108)this exption apear when i run my progrm in other computer in the button1 event this button write in to excel file and show dialog to the user to specify its location although this program run well on my computer without any exception

What I have tried:

i coudnot find any answer for this exception
Updated 19-Jul-18 2:12am
Jochen Arndt 19-Jul-18 8:00am
As a starting point for further investigations:
Error 0x80010108 is RPC_E_DISCONNECTED, "The object invoked has disconnected from its clients".
marwakhaled1990 5-Aug-18 4:41am
what can i do ??
Jochen Arndt 5-Aug-18 4:53am
I have no access to the system where the problems occurs, does not know about the code being used or even which Windows and Excel versions are involved.

So I can't really help.

If you perform a web reserach with the error message, you get some results. Check them if they apply to your case.
CHill60 19-Jul-18 8:02am
Did the user close the excel file manually? I've seen a similar error when that has happened
marwakhaled1990 5-Aug-18 4:40am
CHill60 6-Aug-18 5:41am
If this is not resolved then use the "Improve question" link to post the code where the exception is being thrown and any other relevent code prior to that point

1 solution

You need Excel installed on any machine you run this app on. All the app is doing is automating Excel, so if Excel is not installed there is nothing for it to automate.
marwakhaled1990 5-Aug-18 4:39am
excel is already installed and after this exception i found this excel sheet in its location and i can open it !!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900