locked
Cannot install 32-bit app on Server 2008 R2 64-bit using asnet_regiis.exe RRS feed

  • Question

  • Hi guys,

     

    Apologies if this is in the wrong subforum, I'm new here and there are so many sub forums I'm not sure which is most applicable.

     

    Currently we have a set of web applications that need to be installed (using IIS). They can only run in 32-bit mode so requires IIS to be set to run 32-bit apps. The steps that we've taken to do this work for server 2003 64-bit, and 2008 64-bit, but does not work on server 2008 R2 64-bit. I've spent many hours on this and I'm stumped.

     

    The following are the steps performed to get the web apps installed:

    1. Set "enable32BitAppOnWin64" app to true

    2. Uninstall old ASP.NET stuff using 32-bit version of aspnet_regiis.exe: "aspnet_regiis -ua"

    3. Install ASP.NET stuff using 32-bit version of aspnet_regiis.exe: "aspnet_regiis -i -enable"

     

    As mentioned before, the above works fine on server 2003 64-bit and server 2008 64-bit, just not server 2008 R2 64-bit. Steps 2 and 3 give me the error: "Operation failed with 0x8007000B. An attempt was made to load a program with an incorrect format". After some searching, this is something to do with me running 32-bit application (aspnet_regiis) with IIS which is a 64-bit app. Step one has worked, as the flag has been set in the IIS GUI.

    Would really appreciate it if someone could tell me where I'm going wrong, and why this doesn't work for 2008 R2.

     

    Thanks :)

    Monday, March 29, 2010 11:03 AM

All replies

  • I think this question has to be posted in the IISForum because this seems to be more of IIS Configuration issue rather than CLR issue.

     


    Thanks Naveen http://naveensrinivasan.com
    • Proposed as answer by NaveenS Monday, March 29, 2010 2:57 PM
    • Proposed as answer by NaveenS Monday, March 29, 2010 2:57 PM
    Monday, March 29, 2010 2:56 PM