项目升级后不能运行
项目中的DEV从11.18升级到13.27后,把11.18的控件全删除了,引用全改成13.27了,项目重新生成没有报错,但运行时还是在加载11.18的控件,啥原因?环境是WIN8.1+VS2013.Server Error in '/' Application.Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'DevExpress.Web.v11.1, Version=11.1.8.0, Culture=neutral, PublicKeyToken=9d6efd53a9db851b' or one of its dependencies. 系统找不到指定的文件。
Source Error:
Line 1:<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="Login.aspx.cs" Inherits="Order.Web.Login" %>Line 2:Line 3:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /Login.aspx Line: 1
Assembly Load Trace: The following information can be helpful to determine why the assembly 'DevExpress.Web.v11.1, Version=11.1.8.0, Culture=neutral, PublicKeyToken=9d6efd53a9db851b' could not be loaded.
=== Pre-bind state information ===LOG: DisplayName = DevExpress.Web.v11.1, Version=11.1.8.0, Culture=neutral, PublicKeyToken=9d6efd53a9db851b (Fully-specified)LOG: Appbase = file:///D:/OrderEnt/Web/LOG: Initial PrivatePath = D:\OrderEnt\Web\binCalling assembly : Order.Web, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null.===LOG: This bind starts in default load context.LOG: Using application configuration file: D:\OrderEnt\Web\web.configLOG: Using host configuration file: F:\Users\luxy\Documents\IISExpress\config\aspnet.configLOG: Using machine configuration file from F:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.LOG: Post-policy reference: DevExpress.Web.v11.1, Version=11.1.8.0, Culture=neutral, PublicKeyToken=9d6efd53a9db851bLOG: The same bind was seen before, and was failed with hr = 0x80070002.
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009
应该是你有地方引用了旧版本的DLL,你在项目里找找,另外最好使用新版本的工具进行版本升级,比较好 ssjun 发表于 2014-4-29 11:55
应该是你有地方引用了旧版本的DLL,你在项目里找找,另外最好使用新版本的工具进行版本升级,比较好 ...
我是用新版升级工具升级的,整个项目查找了没有引用旧版的控件 luxy 发表于 2014-4-29 14:36
我是用新版升级工具升级的,整个项目查找了没有引用旧版的控件
从错误提示上看,好像是项目预绑定了旧版控件,单不知道怎样去掉这个预绑定 luxy 发表于 2014-4-29 14:39
从错误提示上看,好像是项目预绑定了旧版控件,单不知道怎样去掉这个预绑定 ...
在引用里找找,
页:
[1]