有人企图从这将引起该组件被沙盒网络位置加载程序集 [英] an attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed
问题描述
.NET 4.0中:得到错误有人企图从中会导致组件被沙盒的网络位置加载程序集 应用的设置
.Net 4.0 : Getting error "an attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed" applied setting
<loadFromRemoteSources enabled="true"/>
没有帮助。 我怎样才能知道哪些组件导致的问题? 我怎样才能解决这个问题?
didn't help. How can i get to know which assembly is causing problem? How can i resolve it?
推荐答案
我也遇到了这个问题,但我发生了问题,因为该文件已被封锁,因为它是从一个不安全的来源时,Gmail在我的情况下载。我在
I have also ran into this issue, but my problem occurred because the file had been blocked since it was downloaded from an unsecured source, GMail in my case. I solved it by
- 右键点击有问题的文件
- 点击属性
- 点击阻止
- Right Click problematic file
- Click Properties
- Click Unblock
在我的情况下,它是不安全的整个.zip文件,所以我清理完文件之前,我解压了。
In my case it was the entire .zip file that was unsafe, so I unblocked the file before I unzipped it.
更多关于该解决方案<一href="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"相对=nofollow>这里
这篇关于有人企图从这将引起该组件被沙盒网络位置加载程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!