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

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

问题描述

注意:我知道这之前已经发布过,但我已经尝试了其他线程中提供的解决方案,但还没有任何运气

我正在尝试将 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 application pool has the following config:

请帮忙:(

推荐答案

可能,您正在尝试加载 x32 DLL.尝试将启用 32 位应用程序"更改为真".

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

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

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