Loading downloaded dll

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  03 March 2013
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
 
  03 March 2013
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.
 
  03 March 2013
You can try to modify the 3dsmax.exe.config . Works pretty well here
http://through-the-interface.typepa...with-net-4.html
 
  03 March 2013
Originally Posted by DeadClown: You can try to modify the 3dsmax.exe.config . Works pretty well here
http://through-the-interface.typepa...with-net-4.html


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

actually it makes sense. it seems like it's also safe to be added.
 
  03 March 2013
thanks,
loading it from my c-drive works already. But editing the config seems more comfortable.
 
  03 March 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:07 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.