错误无法加载文件或程序集“AjaxControlToolkit"或其依赖项之一 [英] ERROR Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies

查看:40
本文介绍了错误无法加载文件或程序集“AjaxControlToolkit"或其依赖项之一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在服务器上部署我的网站.

I'm deploying my website on the server.

我的网站是使用 asp.net c# 4 和 EF 4 完成的.

My website is done using asp.net c# 4 and EF 4.

我收到此错误:

无法加载文件或程序集AjaxControlToolkit"或其依赖项之一.此程序集由比当前加载的运行时更新的运行时构建,无法加载.

Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

知道如何修复它吗?

推荐答案

您似乎正在尝试在运行 CLR v2 的 ASP.NET 版本上运行它.如果没有关于您如何部署它的更多信息,您正在运行什么版本的 IIS 等,就很难确切地知道发生了什么(坦率地说,我不会在这方面有很大帮助)无论如何,尽管其他人会).但基本上,请检查您的 IIS 和 ASP.NET 设置,并确保一切都在运行 v4.检查您的应用程序池配置等

It looks like you're trying to run it on a version of ASP.NET which is running CLR v2. It's hard to know exactly what's going on without more information about how you've deployed it, what version of IIS you're running etc (and to be frank I wouldn't be very much help at that point anyway, though others would). But basically, check your IIS and ASP.NET set-up, and make sure that everything is running v4. Check your application pool configuration, etc.

这篇关于错误无法加载文件或程序集“AjaxControlToolkit"或其依赖项之一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆