BDMV.INFO

 Retrieve Password
 register now
Search
Hot: #
!show!: 11331|Reply: 0
Print Prev. thread Next thread

[2014.01.26] A Special Warning of Using EasyScript to Upload Files [Copy URL]

Rank: 9Rank: 9Rank: 9

Jump to a specific floor
樓主
Post time 2014-1-26 20:12:54 |Show the author posts only |Descending
  1. 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 [url]http://go.microsoft.com/fwlink/?LinkId=155569[/url] for more information.
Copy the Code


EasyScript(ES) is a portable software.It work based on .Net Framework 4, so this problem maybe cause by the .Net Framework.
But I try to excute another ES on the same script and I find only specified ES show this error message when it upload the files to the xuite clould by a specified python script.
By cross reference of the two ES, I find a difference that the security type of these two ES are not the same.


I refer other information getting form google and I find it is not enough to only unblock the security of EasyScript master program.
Because of the software is decompress by the rar files and the rar files has the same security setting problem, the corrent anster is unblock the root rar files.
In fact, if people don't want to unblock the rar files and decompress to another folder,it is no problem, but it mean people need to unblock all the files into this folder, or the problem is still keep in ES.

------reference------
http://blog.amastaneh.com/2012/10/load-assembly-from-network-location.html
http://blogs.msdn.com/b/drew/archive/2009/12/24/xunit-and-td-net-fixing-the-attempt-was-made-to-load-an-assembly-from-a-network-location-problem.aspx
http://msdn.microsoft.com/en-us/library/dd409252%28VS.100%29.aspx
http://allen-conway-dotnet.blogspot.tw/2012/01/fixing-systemiofileloadexception-upon.html
http://tigermax.dyndns.org/bbs/forum.php?mod=viewthread&tid=9067&extra=page%3D1

You have to log in before you can reply Login | register now

Archiver|Cell Phone|BDMV.INFO

GMT+8, 2024-12-22 00:57 , Processed in 0.006962 second(s), 5 queries , Xcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

Top