Could not load file or assembly or one of its dependencies. 试图加载格式不正确的程序。
来源:互联网 发布:php教程 w3c 编辑:程序博客网 时间:2024/04/29 16:03
当我把编译好的程序托管到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 ... 试图加载格式不正确的程序
- 经常在命令提示符中所使用的命令
- UDP和TCP
- Java Web开发Session超时设置
- 数据记录文件转换工具
- Android Studio中引入Github项目
- Could not load file or assembly or one of its dependencies. 试图加载格式不正确的程序。
- Android 一张图理解getWidth和getMeasuredWidth
- spring中bean属性scope介绍
- IPv4地址何时用完,IPv6会用完吗?
- 博客园
- uva 10943How do you add?(简单组合)
- java类加载器
- 程序设计--迷宫问题
- 博客搬家