无法加载文件或程序集“..."或其依赖项之一.试图加载格式不正确的程序

无法加载文件或程序集“...

问题描述:

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

我正在尝试将 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".