【问题描述】

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.
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].

【解决方案】

IIS->应用程序连接池->项目 高级设置->启用32位应用程序->True

最新文章

  1. Linux Mint安装jdk8
  2. 1-NPM
  3. 【CentOS】安装chrome
  4. Android中的Drawable资源
  5. unity3d 破解安装
  6. VC error LNK2005 解决办法
  7. hdu 1689 Just a Hook
  8. 读书雷达 l 业务分析师(BA)篇
  9. VirtualBox的usb支持
  10. Java 多线程并发 Future+callable 实例
  11. cas sso入门(转)
  12. 单线程与多线程的简单示例(以Windows服务发短信为示例)
  13. 设计模式(十):Decorator装饰者模式 -- 结构型模式
  14. .NET中DLL“没有可放置在工具箱的组件”—FreeTextBox
  15. [Cacti] cacti监控mongodb性能实战
  16. 你需要了解的 Core Spotlight
  17. GEF开发eclipse插件,多页编辑器实现delete功能
  18. C语言之递归
  19. Jacey:烧了500万才知道,信息流广告OCPC竟然要这样玩!心疼
  20. LinkedHashMap实现LRU缓存算法

热门文章

  1. Android so文件进阶 <一>
  2. Jackson xml json
  3. C++ 运算符的重载
  4. Spring AOP介绍及源码分析
  5. python3.X出现关于模块(i18n)的不能使用的解决方法
  6. SpringMVC之使用 @RequestMapping 映射请求
  7. 设计模式学习总结(一)——设计原则与UML统一建模语言
  8. Redis集合操作
  9. WebForm 基础学习
  10. Evolution(矩阵快速幂)zoj2853