在asp.net中未能加载文件或程序集DevEx preSS 11.1版本(VB) [英] Could not load file or assembly DevExpress version 11.1 in asp.net(vb)
问题描述
我工作的项目,这是建立在.NET 2.0框架
我们使用devEx preSS版本7之前,但devEx preSS 7的一些控制不支持现代浏览器。所以我安装,其中包括devEx preSS 11版组件。
I am working on project which is build on 2.0 framework of .net We were using devExpress version 7 before but the some controls of devExpress 7 doesn't supports modern browsers. So i installed and included devExpress version 11 assemblies.
我复制/粘贴的2011版汇编文件到我的项目的Bin文件夹。
我加入web.config文件中引用
I copy/pasted assembly files of version 2011 into Bin folder of my project. I added reference in web.config file
在web.config中,我现在
In web.config, I have now
<add assembly="DevExpress.Data.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A"/>
<add assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A"/>
<add assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A"/>
<add assembly="DevExpress.Web.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A"/></assemblies>
在我的ASP文件我有:
In my asp file i have :
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
Namespace="DevExpress.Web.ASPxDataView" TagPrefix="dxdv" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
Namespace="DevExpress.Web.ASPxTabControl" TagPrefix="dxtc" %>
嗯,我不知道关于文化=中性公钥= 9b171c9fd64da1d1
我只是复制/从previous组件粘贴其注册标记
Well i dont know about Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
I just copy/pasted it from previous assemblies register tag
当我跑我的项目,我收到以下错误:
When i run my project, I am getting following error :
Could not load file or assembly 'DevExpress.Web.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
请帮助我在这告诉我,为什么系统无法找到的汇编文件。
Please assist me on this and tell me why the system is not able to find assembly files.
谢谢..
Anjum
Thanks.. Anjum
推荐答案
大会的公钥标记是另一个为11.1。因此,要解决这个问题,你需要从你的源$ C $ C删除该信息,或者将其更新到正确的值。我建议你使用的项目转换到您的项目升级到该版本。通常情况下,它位于{DevEx preSS文件夹} \\组件\\ TOOLS \\ DXperience \\文件夹中。
The assembly's public key token is another for 11.1. So, to resolve this problem you need to either remove this information from your source code or update it to the correct value. I suggest that you use project converter to upgrade your project to this version. Usually, it is located in "{DevExpress folder}\Components\Tools\DXperience\" folder.
这篇关于在asp.net中未能加载文件或程序集DevEx preSS 11.1版本(VB)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!