Hi ,
I am facing a problem during initialize method of a DLL. During initialiazation it throw following error message.
It happens only when I am using ACAD 2010 and try to load DLL from network. When I try to load the DLL form local disc then it works fine. I try in ACAD 2011 where it also works fine from network. Can anybody give me any clue how to resolve this problem. I am attaching the project so that anybody reproduce this problem.
Regards
Zakir
Hi,
Not sure, but you can try adding this line to the acad.exe.config (in the AutoCAD folder) in the runtime section:
<runtime>
...
<loadFromRemoteSources enabled="true" />
...
</runtime>
Gaston Nunez
I have tried that before posting this message but no luck. What I have found that if I remove the reference of PresentationCore.DLL then there is not problem of initialization. But I need that reference. Everything is working fine if I load the dll from local disc.
Can't find what you're looking for? Ask the community or share your knowledge.