aspnetcore: Installing ASP.NET Core Hosting Bundle 3.1.0 crashes 32 bit application pools
The Problem
I have an existing IIS Web Server hosting several ASP.NET (Non-Core) web applications that are utilizing the “Enable 32 bit Application” setting on their respective application pools.
Upon installation of the latest ASP.NET Core Hosting Bundle (3.1.0), all application pools for my existing sites crash and remain stopped after crashing 5 times quickly.
This seems to only impact the sites that are using the 32bit application setting as I have several others that are compiled as “Any CPU” and are using the 64 bit application pool type without issue.
I also have several new .NET Core web applications that are also working fine in 64bit mode (since that is how they were compiled in the first place). This is also my reason for needing the hosting bundle installed in the first place.
The error seen in the Windows Event Log is as follows each time the application pools crash (every existing web application throws the same error when trying to start).
Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x52157ba0
Faulting module name: aspnetcorev2.dll, version: 13.1.19320.0, time stamp: 0x5dcfdb7b
Exception code: 0xc000001d
Fault offset: 0x00026ed9
Faulting process id: 0x106c
Faulting application start time: 0x01d5b9e26b09b5f7
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Program Files (x86)\IIS\Asp.Net Core Module\V2\aspnetcorev2.dll
Report Id: a8bff24d-25d5-11ea-80c8-005056957661
Faulting package full name:
Faulting package-relative application ID:
Further technical details
ASP.NET Core 3.1.0
Output of dotnet --info
Host (useful for support):
Version: 3.1.0
Commit: 157910edee
.NET Core SDKs installed:
No SDKs were found.
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Installed items:

Please let me know what else I can provide to get assistance with this issue. Thank you!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 57 (24 by maintainers)
We’re releasing the 3.1.2 release today, and generally aim for monthly (though there’s no guarantee), so we expect early March for 3.1.3. In general though, we don’t have a committed timeline for patch releases. Hope that helps!
Yep, that’s what I would expect. The issue is specific to particular CPU models 😲! We’re working on getting a fix together now.
Ok. I also tried to rename/delete the x64-version of aspnetcorev2.dll but still the 3.0.0 installation package did not install aspnetcorev2.dll (netiher x32 nor x64). I guess it somehow still considers it already installed. I manually copied v2.2 of the dll to the V2 folder. And now the existing 32-bit application does not crash at least. But we are eagerly awaiting the fix…
The hosting bundle,
@joeloff is correct. Copying the old files is required. Another option is to do the following: Install the 3.0.0 hosting bundle with the flags: OPT_NO_RUNTIME, OPT_NO_SHAREDFX Install the 3.1.1 hosting bundle with the flag: OPT_NO_ANCM
usage:
I’m discussing with our build team ways to get a fix out as soon as possible. Thanks you all for your patience.
For documentation on the hosting bundle, see https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1#install-the-hosting-bundle.
In our case the application that is crashed is 32-bit ISAPI Extension written in C++ decade ago. AppPool configured as “No Managed Code” and Integrated Pipeline Mode. We have installed on the server with tens of that old applications ASP Net Core Hosting Bundle 3.1.0 and now each access from browser to that ISAPI dll causes the same error in aspnetcorev2.dll.
Maybe this fact can help you to look at other points…
@jkotalik I actually had already installed this after reading about some other issues people have reported. Here is the versions I have installed on that machine.