Could not load file or assembly or one of its dependencies. 试图加载格式不正确的程序。
来源:互联网 发布:redis数据库有什么用 编辑:程序博客网 时间:2024/05/16 08:49
当我把编译好的程序托管到IIS下后,访问时出现了以下问题,服务器环境是IIS 7,操作系统 Windows server 2008 r2 64位。
出现上述问题的原因是,所加载的程序集中有32位的,也有64位的,IIS 7 程序池 在Windows下.Net FrameWork是64位的,要想正确使用,需要对程序池进行配置。如下图所示:
0 0
- Could not load file or assembly or one of its dependencies. 试图加载格式不正确的程序。
- Could not load file or assembly or one of its dependencies. 试图加载格式不正确的程序。
- Could not load file or assembly or one of its dependencies. 试图加载格式不正确的程序。
- Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. 试图加载格式不正确的程序。
- Could not load file or assembly or one of its dependencies. 试图加载格式不正确的程序。
- Could not load file or assembly 'XXXXXXXX' or one of its dependencies. 试图加载格式不正确的程
- Could not load file or assembly 'XXX' or one of its dependencies.
- Exception about "Could not load file or assembly Namespace.Components' or one of its dependencies."
- Could not load file or assembly 'XXX' or one of its dependencies.
- Could not load file or assembly ' .dll_newdevelop' or one of its dependencies 解决办法
- Could not load file or assembly "\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies.
- 网站部署 Could not load file or assembly 'XXX' or one of its dependencies. 拒绝访问。
- BadImageFormatException : Could not load file or assembly or one of its dependencies.
- Could not load file or assembly 'XXX' or one of its dependencies
- Could not load file or assembly 'xxx' or one of its dependencies.
- iis站点运行错误:Could not load file or assembly 'EntityFramework' or one of its dependencies.
- SQLite 解决:Could not load file or assembly 'System.Data.SQLite ... 试图加载格式不正确的程序
- SQLite 解决:Could not load file or assembly 'System.Data.SQLite ... 试图加载格式不正确的程序
- poj 3734 Blocks (矩阵快速幂优化的动态规划)
- 如何修改mac 下 主机名,电脑名 ,局域网主机名,计算机名,用户名 ,以及xcode 工程中的 作者名字
- SQL优化----百万数据查询优化
- 《编程之美》3.11 扩展问题
- iOS 开发异步 第三方库 PromiseKit 解析
- Could not load file or assembly or one of its dependencies. 试图加载格式不正确的程序。
- 编程范式,程序员的编程世界观
- Word Ladder II -- leetcode
- Java流详解
- 程序远表白网,对Ta Say Love
- 对公司所有员工的年龄排序
- oracle学习笔记10(监听器进程)
- 苹果开发 笔记(26)
- 异常