无法加载文件或程序集'...'或它的一个依赖。试图用不正确的格式加载程序 [英] Could not load file or assembly '...' or one of its dependencies. An attempt was made to load a program with an incorrect format

查看:321
本文介绍了无法加载文件或程序集'...'或它的一个依赖。试图用不正确的格式加载程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

注:我知道这已经公布过,但我已经尝试过psented其他线程解决方案$ P $,并没有任何运气尚未

我想部署一个.NET 4.0的MVC 4应用到IIS服务器(版本7.5)。我得到以下错误:

I'm trying to deploy a NET 4.0 MVC 4 Application onto an IIS server (version 7.5). I get the following error:

服务器运行的是Windows 7 64位。我用两个特别库:

The server is running Windows 7 64 bits. I'm using two "special" libraries:

-EPPlus

-itextsharp

-itextsharp

注:

-The应用程序池具有以下配置:

-The application pool has the following config:

请帮助:(

推荐答案

也许,你正在试图加载X32 DLL。尝试改变启用32位应用程序为true。

Probably, you are trying to load x32 DLL. Try to change "Enable 32-bit Applications" to "true".

这篇关于无法加载文件或程序集'...'或它的一个依赖。试图用不正确的格式加载程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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