开发者

web deploy causing bad image exception

I have an asp.net web application that uses an unmanaged 32 bit dll that I have successfully running on my development machine, but when I use web deploy to move the code to our test server, I start seeing BadImageFormat exceptions.

I set the target in visual web developer to x86 and both machines are running 64 bit os's (windows 7 and windows server 2008 r2). I'm not sure what other diff开发者_开发问答erences there could be causing the problem. Thanks for any help you can provide.


It turns out that there was a flag "Enable 32-bit executables" or something like this in the config files for the webserver that starts out false under iis 7.5

The error message was a total red herring.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜