IIS7 部署有关于x86 dll 出错问

今天刚刚部署了一个在32位系统下写的web程序,调用了一些32位的dll, 部署了window2008的IIS7的dll的有x86写的,就会出现以下这样的问题 

iis 7 x86,Could not load file or assembly 'Name' or one of its dependencies. An attempt was made to load a program with an incorrect format.

解决这样的,只要设置一下iis兼容x86程序就可以了,具体步骤:

1.开始-> 运行

2.

 

3. 高级设置, Enable 32 - Bit Applications 设置为True就可以了.

 

原文地址:https://www.cnblogs.com/xiarifeixue/p/1909295.html