x64 vs x86 vs AnyCPU

Discussion in 'ASP .Net' started by Rory Becker, Mar 30, 2009.

  1. Rory Becker

    Rory Becker Guest

    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
    Rory Becker, Mar 30, 2009
    #1
    1. Advertising

  2. Rory Becker

    Rory Becker Guest

    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
    Rory Becker, Mar 30, 2009
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Chau
    Replies:
    11
    Views:
    21,973
    Anoop M
    Jan 2, 2004
  2. gswork
    Replies:
    6
    Views:
    660
    Will Hartung
    Oct 7, 2004
  3. Trent Mick
    Replies:
    0
    Views:
    405
    Trent Mick
    Jun 28, 2005
  4. d-42
    Replies:
    1
    Views:
    582
  5. cybose
    Replies:
    2
    Views:
    87
    smallpond
    Dec 18, 2007
Loading...

Share This Page