繁体   English   中英

无法加载文件或程序集“ Ajax”或其依赖项之一。 该系统找不到指定的文件

[英]Could not load file or assembly 'Ajax' or one of its dependencies. The system cannot find the file specified

附带的其他错误消息是:

我一直在面对这个错误,因为我在我的网站中也包含了ajax库。 而且web.config也具有有关ajaxtoolkit的重要标签。

请注意,我最近将此网站从ASP.NET 3.5切换到了4.0

请对此提供帮助。

这也是堆栈跟踪:

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Ajax' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!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 [HKLM\Software\Microsoft\Fusion!EnableLog].

尝试将旧应用程序升级到ASP.NET 4.0时遇到了这个问题。 我知道-仍然很老,但这就是客户想要的。 四处逛逛,以了解发生这种情况的原因。 然后我找到了。 该应用程序正在IIS中使用ASP.NET 4.0 Classic应用程序池。 当我切换到ASP.NET 4.0 Integrated时,错误消失了。 希望这对其他人有帮助。

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM