异常System.BadImageFormatException
2024-09-25 15:19:09
【问题描述】
Server Error in '/' Application.
Could not load file or assembly 'WebDemo' or one of its dependencies. 试图载入格式错误的程序。
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 'WebDemo' or one of its dependencies. 试图载入格式错误的程序。
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. |
Assembly Load Trace: The following information can be helpful to determine why the assembly 'WebDemo' could not be loaded.
WRN: Assembly binding logging is turned OFF. |
【解决方案】
IIS->应用程序连接池->项目 高级设置->启用32位应用程序->True
最新文章
- Linux Mint安装jdk8
- 1-NPM
- 【CentOS】安装chrome
- Android中的Drawable资源
- unity3d 破解安装
- VC error LNK2005 解决办法
- hdu 1689 Just a Hook
- 读书雷达 l 业务分析师(BA)篇
- VirtualBox的usb支持
- Java 多线程并发 Future+callable 实例
- cas sso入门(转)
- 单线程与多线程的简单示例(以Windows服务发短信为示例)
- 设计模式(十):Decorator装饰者模式 -- 结构型模式
- .NET中DLL“没有可放置在工具箱的组件”—FreeTextBox
- [Cacti] cacti监控mongodb性能实战
- 你需要了解的 Core Spotlight
- GEF开发eclipse插件,多页编辑器实现delete功能
- C语言之递归
- Jacey:烧了500万才知道,信息流广告OCPC竟然要这样玩!心疼
- LinkedHashMap实现LRU缓存算法