(Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

(Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

Anonymous
Not applicable
1,992 Views
3 Replies
Message 1 of 4

(Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

Anonymous
Not applicable
Anyone get this error from acad and dotnet?
i saw a lot of references on the web about it in different contexts

working on a vb.net app in acad2009 - using com interop - but it's still
dot net.
just started getting this error yesterday, never seen before.
just wondering if anyone has seen it and knows what it may mean in the acad
context.

also yesterday this started happening.
I build the dotnet project.
I open acad
(the dot net dll is netloaded by lisp call in startup routine)
run the dotnet command
close acad
------> acad closes visually but the process does not end - i have to go to
task manager and end task to get it to end.
otherwise i can't rebuild the dotnet project
Error 2 Unable to copy file "obj\Release\MCS_DXF.dll" to
"bin\Release\MCS_DXF.dll". The process cannot access the file
'bin\Release\MCS_DXF.dll' because it is being used by another process.
DxfGenerator

i suspect the two phenomena are related but don't know how to fix

any ideas?
thanks
mark
0 Likes
1,993 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

Can't seem to find the answer, but IIRC, you get this when your copy local is set to true. Try that. if not, post the offending code and let see if the smart peeps can figure it out 🙂

 

HomeBoy Out

0 Likes
Message 3 of 4

Anonymous
Not applicable

Usually see That error if you netload the dll then change it and try to rebuild it without closing down autocad

Will not let you rebuild it if it is being used by autocad

0 Likes
Message 4 of 4

Anonymous
Not applicable

This happens in sharepoint A LOT. Lots of various reasons, but it seems like a majority are caused by out of context use. It would make sense that a conflict between build version and load version would create an error.

 

HomeBoy Out

0 Likes