Notifications
Clear all

[Closed] Loading downloaded dll

Hi,

I’ve downloaded a dll in order to try loading ESRI-shapefiles in 3dsMax

When I try to load it with dotnet.loadassembly it gives me the following error

-- Runtime error: dotNet runtime exception: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See  http://go.microsoft.com/fwlink/?LinkId=155569  for more information.
 

I’m not really sure how to deal with this. Does anybody here have experience with this and how to solve it?

Tho project I try to load can be downloaded here: http://www.easygisdotnet.com/Products.aspx

4 Replies

You are trying to load a dll from a network drive (file server).
It should work if you try to load the dll from your local c:\ drive.


  <runtime>		      	
 	<loadFromRemoteSources enabled="true"/> 
  </runtime>  
  

actually it makes sense. it seems like it’s also safe to be added.

thanks,
loading it from my c-drive works already. But editing the config seems more comfortable.