加载此程序集将产生不同的津贴从其他实例集 [英] Loading this assembly would produce a different grant set from other instances

查看:1934
本文介绍了加载此程序集将产生不同的津贴从其他实例集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误在运行时加载此程序集将产生不同的授予集与其它实例,呼吁从ASP.net 2.0的网站vb.net 1.1组件时。任何想法可能是这个错误背后的原因是什么?

I am getting following error at run-time "Loading this assembly would produce a different grant set from other instances" when calling a vb.net 1.1 assembly from a ASP.net 2.0 website. Any idea what could be the reason behind this error?

该方案是:

有它内置的网页在ASP.NET 2.0中一个Web应用程序。本网站的网页加载2.0 vb.net组装,这inturn加载1.1 vb.net组装。

There is one web application which is built as WebSite in ASP.NET 2.0. The webpages in this website loads a 2.0 vb.net assembly, which inturn to load a 1.1 vb.net assembly.

在code未能在运行时加载的DLL 1.1组装。请大家帮帮忙。

The code is failing at run time, in loading the assembly of 1.1 dll. Please help.

推荐答案

当我安装了.NET 4.5.1我有这个错误。

I had this error when I installed .NET 4.5.1.

我知道这是不是对上述问题更近,而且上面是有可能解决或不相关的现在,但它可以帮助人们在以后的日子。

I realise that's more recent than the above question, and the above is likely solved or irrelevant by now but it may help people at a later date.

我固定它删除我的解决方案文件夹中的文件名为.suo(您可能需要显示隐藏文件,看它们)。

I fixed it by deleting the .suo files in my solution folder (you may have to show hidden files to see them).

下一次,我开始了一切恢复正常。希望它能帮助。

Next time I started it up everything was back to normal. Hope it helps.

这篇关于加载此程序集将产生不同的津贴从其他实例集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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