程序集绑定日志记录已关闭



我收到此错误。请帮忙!

解析器错误说明:解析处理此请求所需的资源时出错。请查看以下特定的解析错误详细信息,并相应地修改源文件。

解析器错误消息:无法加载文件或程序集"AjaxControlToolkit"或其依赖项之一。系统找不到指定的文件。

源错误:

Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %>
Line 2:  <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
Line 3:  
Line 4:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Source File: /skyscanner2/index.aspx    Line: 2

程序集加载跟踪:以下内容 信息可能有助于 确定程序集的原因 "AjaxControlToolkit"不可能 加载。

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].

(从我上面的评论迁移而来,所以有一个答案。

您需要在项目中引用AjaxControlToolkit.dll

最新更新