[英]Could not load file or assembly '...' or one of its dependencies. An attempt was made to load a program with an incorrect format
NOTE: I know this has been posted before but i have tried the solutions presented in other threads and haven't had any luck yet注意:我知道这之前已经发布过,但我已经尝试了其他线程中提供的解决方案,但还没有任何运气
I'm trying to deploy a NET 4.0 MVC 4 Application onto an IIS server (version 7.5).我正在尝试将 NET 4.0 MVC 4 应用程序部署到 IIS 服务器(7.5 版)上。 I get the following error:
我收到以下错误:
The server is running Windows 7 64 bits.服务器正在运行 Windows 7 64 位。 I'm using two "special" libraries:
我正在使用两个“特殊”库:
-EPPlus -EPPlus
-itextsharp -itextsharp
Notes:笔记:
-The application pool has the following config: - 应用程序池具有以下配置:
Help please :(请帮忙 :(
Probably, you are trying to load x32 DLL.可能,您正在尝试加载 x32 DLL。 Try to change "Enable 32-bit Applications" to "true".
尝试将“启用 32 位应用程序”更改为“真”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.