.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

(Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
1706 Views, 3 Replies

(Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

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
3 REPLIES 3
Message 2 of 4
HomeBoyLV
in reply to: Anonymous

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

Message 3 of 4
Jeffrey_H
in reply to: HomeBoyLV

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

You can also find your answers @ TheSwamp
Message 4 of 4
HomeBoyLV
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost