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

查看:116
本文介绍了错误无法加载文件或程序集“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.

我收到此错误:

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

任何想法,我怎么能解决这个问题?感谢您的时间在这

Any idea how could I fix it? Thanks for your time on this

推荐答案

它看起来像你想在一个版本的ASP.NET这是运行CLR v2上运行它。这是很难知道的究竟的什么事情没有更多的信息关于你如何部署它,你正在运行的版本的IIS等(并坦率地说,我也不会在这十分有帮助反正指出,虽然别人会)。但基本上,检查IIS和AS​​P.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天全站免登陆