刚刚 部署了ii7的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就可以了.