Cannot install a 32-bit application on a 64-bit Server 2008 R2 server using asnet_regiis.exe

I currently have a set of web applications that need to be installed (using IIS). They can only work in 32-bit mode, so 32-bit applications must be configured for IIS. The steps we took for this work for 64-bit 64-bit and 64-bit servers, as well as for 64-bit 2008, but they do not work on the 64-bit Server R2 R2 server. I spent many hours on this, and I'm at a standstill.

The following are the steps that are taken to install web applications: 1. Set "enable32BitAppOnWin64" to true 2. Remove the old ASP.NET stuff using the 32-bit version of aspnet_regiis.exe: "aspnet_regiis -ua" 3. Install the ASP material .NET using the 32-bit version of aspnet_regiis.exe: "aspnet_regiis -i -enable"

As mentioned earlier, the above works fine on a 64-bit server, 64-bit server and server 2008, and not on server 2008 R2 64-bit. Steps 2 and 3 give me an error: "The operation failed with 0x8007000B. An attempt was made to load a program with the wrong format." After some searching, this is because I am running a 32-bit application (aspnet_regiis) with IIS, which is a 64-bit application. The first step worked because the flag was set in the IIS GUI.

It would be very nice if someone could tell me where I am mistaken and why this does not work in 2008 R2.

thank

+5
source share
3 answers

, aspnet_regiis Framework64 " 32- " , , .

+2

Vista ASP.NET . ASP.NET -. Server Manger Roles and Role Services

v4.0 32, 64- .

+2

Windows. 32 Windows 'aspnet_regiis -i' C:\Windows\Microsoft.Net\Framework\v2.0.52707

Or if its 64-bit run from C: \ Windows \ Microsoft.Net \ Framework64 \ v2.0.52707 folder

+1
source

All Articles