x64 vs x86 vs AnyCPU

  • Thread starter Thread starter Rory Becker
  • Start date Start date
R

Rory Becker

I run Vista x64

I run VS2008 Pro

When I create new Apps they default to AnyCPU.

When these run on my machine they execute as x64 and therefore prevent me
from using Edit and Continue.

I decided to change my app to x86.

However when I now try to run my app, I get "Could not load file or assembly
'Testx64' or one of its dependencies. An attempt was made to load a program
with an incorrect format. "

I assue this is because something about my IIS is trying to force my x86
application to run under x64 (I run IIS 7)

Can someone help me correct this
 
Hello Rory,
I decided to change my app to x86.

However when I now try to run my app, I get "Could not load file or
assembly 'Testx64' or one of its dependencies. An attempt was made to
load a program with an incorrect format. "

I assue this is because something about my IIS is trying to force my
x86 application to run under x64 (I run IIS 7)

Can someone help me correct this?

I have found and "Advanced setting in IIS7 which "Enables" 32bit Apps

This seems to have fixed things
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top