升级DevEx preSS后无法加载文件或程序 [英] Could not load file or assembly after upgrading DevExpress

查看:319
本文介绍了升级DevEx preSS后无法加载文件或程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在撕裂我的头发了这一个,并希望它会是简单的东西,我是太粗摸出自己。

I've been tearing my hair out over this one, and hopefully it'll be something simple that I'm too thick to work out for myself.

我们已经有了一个ASP.NET网站(IIS7.5,服务器2008R2),使用妙DevEx preSS ASP模块。所有工作正常,直到我有模块升级10.1.4从10.1.7到的好主意。于是乎,现场引发间歇性的,但是正规的错误,即:

We've got a ASP.NET website (IIS7.5, Server 2008R2) that uses the wonderful DevExpress ASP modules. All was working fine until I had the bright idea of upgrading the modules from 10.1.4 to 10.1.7. Ever since, the site throws intermittent but regular errors that it:

Could not load file or assembly 'DevExpress.Data.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

所有.aspx文件具有类似的注册标签,例如:

All the .aspx files have similar register tags, e.g.:

<%@ Register assembly="DevExpress.Web.ASPxEditors.v10.1" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

我更新使用DevEx preSS自身的升级程序工具Visual Studio 2010的项目。还有就是v10.1.4的随时随地的在code无参考 - 我已经检查了.aspx文件,web.config文件等 - 和Web服务器具有所有最新的.DLL对了。我甚至已经搬到现场,一个全新的,处女的服务器,但仍然出现错误。指定寄存器标签颠覆数量和公钥不作任何不同。

I updated the VS2010 project using DevExpress's own upgrader utility. There is no reference to v10.1.4 anywhere in the code - I've checked the .aspx files, web.config etc - and the web server has all the latest .DLL's on too. I've even moved the site to a complete new, virgin server, yet the error still occurs. Specifying the subversion number and public key in the register tag doesn't make any different.

我有 IISRESET 'D,清除临时文件,重新启动等,都无济于事。真正令人沮丧的事情是错误是不可复制的 - 有时它发生,有时没有。谁能帮我?

I've iisreset'd, cleared out temporary files, rebooted etc, all to no avail. The really frustrating thing is the error isn't reproducible - sometimes it happens, sometimes it doesn't. Can anyone help me out?

推荐答案

请做出一定的应用程序的bin文件夹不包含我们的老组件。此外,搜索您的项目'10 .1.4.0'子串,并确保该字符串不会出现。如果这没有帮助,你必须确保你的应用程序不引用一个DLL,它引用我们的老组件或驻留在bin文件夹。最后,一​​个好的想法是清除临时ASP.NET文件文件夹(C:\\ WINDOWS \\ Microsoft.NET \\框架\\ V2.0.50727 \\临时ASP.NET文件)......我希望,这将是有帮助的。

Please make certain that the application's bin folder does not contain our old assemblies. Also, search your project for '10.1.4.0' substring and make sure that this string does not appear. If this does not help, you must be sure that your application does not reference a dll which references our old assemblies or which is residing in the bin folder. Finally, a good idea is to clear the Temporary ASP.NET Files Folder ("C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files")... I hope, this will be helpful.

这篇关于升级DevEx preSS后无法加载文件或程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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