简体   繁体   English

无法加载文件或程序集“AjaxControlToolkit”或其依赖项之一。 该模块应该包含一个程序集清单

[英]Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The module was expected to contain an assembly manifest

I am facing with strange error when I deployed my application on IIS7 When I open my site in VS 2012 without changing its framework which is .Net 4. 我在IIS7上部署应用程序时遇到奇怪的错误当我在VS 2012中打开我的站点而不更改其.Net 4的框架时。

Source Error: 来源错误:

Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FrmUserLogin.aspx.cs" Inherits="VisionWebPortal.FrmUserLogin" %>
Line 2:  <%@ Register Assembly="AjaxControlToolkit"  Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
Line 3:  <%@ Register Src="MessageBoxUsc/uscMsgBox.ascx" TagName="uscMsgBox" TagPrefix="uc1" %>

The problem is with Line 2 of Ajax assembly reference. 问题在于Ajax程序集引用的第2行。 When I deployed the same on my laptop, It is working fine with out error and It also works with VS 2010. Secondly there are two more websites on the same IIS and that have also the same Ajax tags which are working fine. 当我在我的笔记本电脑上部署它时,它运行正常,没有错误,它也适用于VS 2010.其次,在同一个IIS上还有两个网站,并且还有相同的Ajax标签,它们正常工作。 I attempted the following but still out of luck: 我尝试了以下但仍然没有运气:

  1. Clean Solution and Rebuild 清洁解决方案和重建
  2. Deleted AjaxControlToolkit.dll reference and Re-add the reference 删除了AjaxControlToolkit.dll引用并重新添加引用
  3. Give Full Permissions "Temporary Asp.Net Files" for IIS/User by modifying folder security permissions 通过修改文件夹安全权限为IIS /用户授予完全权限“临时Asp.Net文件”
  4. Restart Visual Studio 2010 and IIS server 重新启动Visual Studio 2010和IIS服务器
  5. Checking App Pool version which is V4. 检查应用程序池版本是V4。
  6. Uploaded whole project including Bin files 上传整个项目,包括Bin文件

The problem was with Visual Studio versions. 问题出在Visual Studio版本上。 When you changed project file details by opening in different versions of Visual Studio like VS 2010 or VS 2012, then this types of errors appeared. 通过在VS 2010或VS 2012等不同版本的Visual Studio中打开更改项目文件详细信息时,会出现此类错误。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载文件或程序集“ AjaxControlToolkit”或其依赖项之一。 系统c - Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system c 无法加载文件或程序集“ AjaxControlToolkit”或其依赖项之一。 参数不正确 - Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The parameter is incorrect 无法加载文件或程序集XXX或其依赖项之一。 找到的程序集的清单定义与程序集引用不匹配 - Could not load file or assembly XXX or one of its dependencies. The located assembly's manifest definition does not match the assembly reference 无法加载文件或程序集“WebGrease”的依赖项之一。 定位的程序集的清单定义与程序集引用不匹配 - Could not load file or assembly 'WebGrease' one of its dependencies. The located assembly's manifest definition does not match the assembly reference 无法加载文件或程序集或其依赖项之一。 找到的程序集的清单定义与程序集引用不匹配 - Could not load file or assembly or one of its dependencies. The located assembly's manifest definition does not match the assembly reference 无法加载文件或程序集“System.Web.Mvc”或其依赖项之一。 定位的程序集的清单定义与程序集不匹配 - Could not load file or assembly 'System.Web.Mvc' or one of its dependencies. The located assembly's manifest definition does not match the assembly 我该如何解决这个问题; 无法加载文件或程序集“AjaxControlToolkit”或其依赖项之一。 该系统找不到指定的文件 - How can i solve this; Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified 无法加载文件或程序集或其依赖项之一。 拒绝访问 - Could not load file or assembly or one of its dependencies. Access is denied 无法加载文件或程序集“ xxxLib”或其依赖项之一。 BadImageFormatException - Could not load file or assembly 'xxxLib' or one of its dependencies. BadImageFormatException 无法加载文件或程序集或其依赖项之一。 - Could not load file or assembly or one of its dependencies.
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM