在运行网站时,COuld没有加载文件或汇编错误? [英] COuld not load a file or assemble error while run the website?

查看:73
本文介绍了在运行网站时,COuld没有加载文件或汇编错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我在运行网站时遇到错误实际上我是asp.net的新来者。

我不是得到什么错误是。

可以任何一个请建议如何解决这个错误。



无法加载文件或程序集''ING' '或其中一个依赖项。此程序集由比当前加载的运行时更新的运行时构建,无法加载。

描述:执行当前Web请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。



异常详细信息:System.BadImageFormatException:无法加载文件或程序集'' ING''或其中一个依赖项。此程序集由比当前加载的运行时更新的运行时构建,无法加载。



源错误:



在执行当前Web请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来识别有关异常的起源和位置的信息。

Hi all

I got an error while run the website actually I am new comer to asp.net.
I am not getting whats error is.
can any one please suggest how to solve thse error.

Could not load file or assembly ''ING'' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: Could not load file or assembly ''ING'' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

推荐答案

此程序集由运行时更新程序构建比当前加载的运行时



有你的提示。您的应用程序池在错误的dotNet版本下运行。

使用您的IIS管理器版本,为适用的应用程序池选择正确的dotNet版本。
This assembly is built by a runtime newer than the currently loaded runtime

There is your hint. Your application pool is running under the wrong dotNet version.
Using your version of IIS manager, select the correct dotNet version for the applicable app pool.


这篇关于在运行网站时,COuld没有加载文件或汇编错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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