Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > x64 vs x86 vs AnyCPU

Reply
Thread Tools

x64 vs x86 vs AnyCPU

 
 
Rory Becker
Guest
Posts: n/a
 
      03-30-2009
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


 
Reply With Quote
 
 
 
 
Rory Becker
Guest
Posts: n/a
 
      03-30-2009
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
x64 vs x86.. surprising results in performance (x86 better)? markm75 Windows 64bit 7 01-09-2008 06:41 PM
Why is there an x86 emu if a processor is x86-64? =?Utf-8?B?RWxsaW90IEh1ZGdpbnM=?= Windows 64bit 4 07-23-2006 11:52 PM
x86 Mac Laptop and x86 iMac now available Daniel NZ Computing 11 01-17-2006 12:11 PM
ANN: ActivePython 2.4.1 for Solaris 10 on SPARC, x86 and x64 systems Trent Mick Python 0 06-28-2005 09:01 PM
Symantec Ghost Corporate Edition 8 and X86 x64 CPU compatibility NoneOfBusiness Computer Support 0 05-07-2005 09:33 PM



Advertisments