Repository navigation
Description
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]
Please let me know what else I can provide to get assistance with this issue. Thank you!

Activity
jkotalik commentedon Dec 26, 2019
So I looked up the error you are hitting (0xc000001d)
This looks like the 32 bit dll is potentially corrupted in some way. Can you see what happens if you uninstall the 3.1.0 hosting bundle and install the 3.0.1 bundle? Or can you see what happens if you uninstall and reinstall 3.0.1?
jkotalik commentedon Dec 26, 2019
cc @joeloff
bshade7 commentedon Dec 27, 2019
@jkotalik I should be able to give this a shot within the next couple days, I will update the results of trying the 3.0.1 hosting bundle instead. Thanks for the response.
bshade7 commentedon Dec 30, 2019
I was able to give this a shot today and the results with 3.0.1 are the exact same as what I was seeing with 3.1.0. The following error messages were written to the windows event application log:
As you can see, the dll version changed, but apart from that the results are the same. Is there something I am missing to have the non-aspnetcore apps configured? I have tried adding remove statements in the web.config, but nothing seems to get me anything different.
Let me know what else you need from me to help get to the root of what is going on here. Thank you.
jkotalik commentedon Jan 2, 2020
Very weird. I've tried to repro this locally with the 3.0.1 installation of IIS and I couldn't repro it. The only thing that I can think of is the version of Windows you have.
For my sanity, can you check that the bitness of the
aspnetcorev2.dllis 32 bit? You can use something likedumpbinto find the bitness.lousaibiao commentedon Jan 6, 2020
any update? facing the same issue
jkotalik commentedon Jan 6, 2020
@lousaibiao can you try doing what I mentioned in my previous comment and check the bitness of the aspnetcorev2.dll? We are still trying to gather more information.
lousaibiao commentedon Jan 6, 2020
where can i find dumpbin?
47 remaining items
niti01 commentedon Feb 5, 2020
Hi,
We had the asp.net core 2.2 hosting module installed and after installing 3.1.0 we experienced this issue with all existing 32-bit app pools crashing.
We uninstalled 3.1.0 and tried @jkotalik 's solution with installing 3.0.0 and 3.1.1 bundles with the specified flags. However, we still do not get the file: C:\Program Files (x86)\IIS\Asp.Net Core Module\V2\aspnetcorev2.dll which we expected the 3.0.0 bundle to install. According to the attached 3.0.0 installation log, the installer seems to recognize that the file is absent but it is not installed anyway.
dd_dd_DotNetCoreWinSvrHosting__20200205164010.log
And we do not have the aspnetcorev2.dll from 3.0.0 as we had not installed this version previously.
joeloff commentedon Feb 5, 2020
Based on the log, it detected a newer version for ANCM to be already present on the machine and marked the MSI as obsolete
niti01 commentedon Feb 6, 2020
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...
victormss commentedon Feb 14, 2020
We also have this problem. It only happens in virtual machines with Windows 2012, in which 2016, 2019 and physical servers with 2012 does not happen. All the hosts are Windows 2019.
The hosts and physical servers have different cpus, but they are all Intel.
The installed version is 3.1.1
codingforfoodllc commentedon Feb 18, 2020
I don't really have a lot to add other than we we are also having this issue. 32 bit applications pools are crashes when we installed core hosting 3.1.0.
jkotalik commentedon Feb 18, 2020
This will be fixed in 3.1.3.
codingforfoodllc commentedon Feb 18, 2020
Awesome! Is there a timeline for 3.1.3 release?
analogrelay commentedon Feb 18, 2020
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!
RobPierce commentedon Mar 2, 2020
Is this version 3.1.3 of the hosting bundle, or is it the sdk that is the ultimate problem?
jkotalik commentedon Mar 2, 2020
The hosting bundle,
jkotalik commentedon Mar 25, 2020
3.1.3 is now available: https://dotnet.microsoft.com/download/dotnet-core/3.1. This issue should now be resolved in 3.1.3