有人企图从这将引起该组件被沙盒网络位置加载程序集 [英] an attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed

查看:596
本文介绍了有人企图从这将引起该组件被沙盒网络位置加载程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.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

  1. 右键点击有问题的文件
  2. 点击属性
  3. 点击阻止
  1. Right Click problematic file
  2. Click Properties
  3. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆