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.
Not sure, but you can try adding this line to the acad.exe.config (in the AutoCAD folder) in the runtime section:
<loadFromRemoteSources enabled="true" />
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.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!