Publish time 2014-1-26 20:12:54

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

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.

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.
http://blessing.bdmv.info/tutorial/es_issue_root_cause1.png

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

Pages: [1]
View full version: [2014.01.26] A Special Warning of Using EasyScript to Upload Files