I know this is got to be possible, I must be missing something here. It works fine when I load the dll locally on my machine but if I try to load it off of a network drive it gives me errors.
This is the first line:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
OK, that sounded easy enough but now that I've gotten in to it, it's no so easy. What settings need to be changed?
Also, this seems to be a security permission on my local machine? Is this correct? I need to change the settings on my machine, not the server? If that is the case, it would have to be done corporate wide....that just doesn't sound right.
I don't know what or where you can set at an enterprise level. Personally I have VBA code that runs when AutoCAD starts which copies my dlls to the users hard drive. In case you want to set the permission on each machine I am attaching a PDF of the steps.