Link to home
Start Free TrialLog in
Avatar of craigdev
craigdev

asked on

IIS 6 need to run in x86 (32 bit mode) but on a Windows 2003 x64 server

Hi there,

Our development environment is a Windows 2003 x86 server but production is Windows 2003 x64 server. I've tested a webservice fine on the dev server now when I attempt to get to work on the live server I keep getting:

Could not load file or assembly 'xxxxxxxxxxx' or one of its dependencies. An attempt was made to load a program with an incorrect format

I think this is because my solution and all projects target x86, we need to specifically do rather than Any CPU due a Crystal Reports XI 2 dependency, the dlls don't work on x64. Anyway when I deploy to the x64 production server I get these errors.

http://support.microsoft.com/kb/894435/en-us
tells me how to switch but I'll have to do for all IIS websites I can't do selectively so am reluctant to yet. Is there any other was I can do this short of setting up another x64 server in vmware or something and testing?

Also http://support.microsoft.com/kb/894435/en-us tells me how to switch between modes but what is the actual command to run to tell what version is currently running?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Pugglewuggle
Pugglewuggle
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial