开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 3326|回复: 4

项目升级后不能运行

[复制链接]

0

精华

763

贡献

418

赞扬

授权已结束

Rank: 18Rank: 18

帖子
108
软币
2306
在线时间
220 小时
注册时间
2013-6-13
发表于 2014-4-28 17:36:17 | 显示全部楼层 |阅读模式
项目中的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

回复

使用道具 举报

0

精华

730

贡献

2919

赞扬

正版授权组

Rank: 14Rank: 14Rank: 14Rank: 14

帖子
413
软币
15859
在线时间
2986 小时
注册时间
2013-6-8

饮水勋章神经正常武林秘籍

发表于 2014-4-29 11:55:15 | 显示全部楼层
应该是你有地方引用了旧版本的DLL,你在项目里找找,另外最好使用新版本的工具进行版本升级,比较好
回复

使用道具 举报

0

精华

763

贡献

418

赞扬

授权已结束

Rank: 18Rank: 18

帖子
108
软币
2306
在线时间
220 小时
注册时间
2013-6-13
 楼主| 发表于 2014-4-29 14:36:41 | 显示全部楼层
ssjun 发表于 2014-4-29 11:55
应该是你有地方引用了旧版本的DLL,你在项目里找找,另外最好使用新版本的工具进行版本升级,比较好 ...

我是用新版升级工具升级的,整个项目查找了没有引用旧版的控件
回复

使用道具 举报

0

精华

763

贡献

418

赞扬

授权已结束

Rank: 18Rank: 18

帖子
108
软币
2306
在线时间
220 小时
注册时间
2013-6-13
 楼主| 发表于 2014-4-29 14:39:23 | 显示全部楼层
luxy 发表于 2014-4-29 14:36
我是用新版升级工具升级的,整个项目查找了没有引用旧版的控件

从错误提示上看,好像是项目预绑定了旧版控件,单不知道怎样去掉这个预绑定
回复

使用道具 举报

0

精华

730

贡献

2919

赞扬

正版授权组

Rank: 14Rank: 14Rank: 14Rank: 14

帖子
413
软币
15859
在线时间
2986 小时
注册时间
2013-6-8

饮水勋章神经正常武林秘籍

发表于 2014-4-29 18:44:03 | 显示全部楼层
luxy 发表于 2014-4-29 14:39
从错误提示上看,好像是项目预绑定了旧版控件,单不知道怎样去掉这个预绑定 ...

在引用里找找,
回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-5-4 13:28

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表