Skip to content

Installing ASP.NET Core Hosting Bundle 3.1.0 crashes 32 bit application pools #18019

Closed

Description

@bshade7

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:
image

Please let me know what else I can provide to get assistance with this issue. Thank you!

Activity

  1. added
    feature-iis
    on Dec 26, 2019
  2. jkotalik commented on Dec 26, 2019

    @jkotalik
    Contributor

    So I looked up the error you are hitting (0xc000001d)

    Instruction An attempt was made to execute an illegal instruction.
    

    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?

  3. added
    Needs: Author Feedback
    on Dec 26, 2019
  4. jkotalik commented on Dec 26, 2019

    @jkotalik
    Contributor
  5. bshade7 commented on Dec 27, 2019

    @bshade7
    Author

    @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.

  6. ghost added
    Needs: Attention 👋
    on Dec 27, 2019
  7. ghost removed
    Needs: Author Feedback
    on Dec 27, 2019
  8. bshade7 commented on Dec 30, 2019

    @bshade7
    Author

    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:

    Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x52157ba0
    Faulting module name: aspnetcorev2.dll, version: 13.0.19309.1, time stamp: 0x5dc0c3ae
    Exception code: 0xc000001d
    Fault offset: 0x00026ed9
    Faulting process id: 0xdd0
    Faulting application start time: 0x01d5bebd07e15d31
    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: 4599d5b6-2ab0-11ea-80d4-0050569519d2
    Faulting package full name: 
    Faulting package-relative application ID:
    

    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.

  9. jkotalik commented on Jan 2, 2020

    @jkotalik
    Contributor

    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.dll is 32 bit? You can use something like dumpbin to find the bitness.

  10. added
    Needs: Author Feedback
    and removed
    Needs: Attention 👋
    on Jan 3, 2020
  11. lousaibiao commented on Jan 6, 2020

    @lousaibiao

    any update? facing the same issue

  12. jkotalik commented on Jan 6, 2020

    @jkotalik
    Contributor

    @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.

  13. lousaibiao commented on Jan 6, 2020

    @lousaibiao

    where can i find dumpbin?

  14. 47 remaining items

  15. niti01 commented on Feb 5, 2020

    @niti01

    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.

  16. joeloff commented on Feb 5, 2020

    @joeloff
    Member

    Based on the log, it detected a newer version for ANCM to be already present on the machine and marked the MSI as obsolete

    [0ACC:0744][2020-02-05T16:40:10]i103: Detected related package: {C2109FCE-737E-479E-98EC-039A39840AB9}, scope: PerMachine, version: 13.1.19350.0, language: 0 operation: Downgrade
    [0ACC:0744][2020-02-05T16:40:10]i201: Planned package: AspNetCoreModuleV2_x64, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None
    
  17. niti01 commented on Feb 6, 2020

    @niti01

    Based on the log, it detected a newer version for ANCM to be already present on the machine and marked the MSI as obsolete

    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...

  18. victormss commented on Feb 14, 2020

    @victormss

    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

  19. codingforfoodllc commented on Feb 18, 2020

    @codingforfoodllc

    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.

  20. jkotalik commented on Feb 18, 2020

    @jkotalik
    Contributor

    This will be fixed in 3.1.3.

  21. codingforfoodllc commented on Feb 18, 2020

    @codingforfoodllc

    Awesome! Is there a timeline for 3.1.3 release?

  22. analogrelay commented on Feb 18, 2020

    @analogrelay
    Contributor

    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!

  23. RobPierce commented on Mar 2, 2020

    @RobPierce

    This will be fixed in 3.1.3.

    Is this version 3.1.3 of the hosting bundle, or is it the sdk that is the ultimate problem?

  24. jkotalik commented on Mar 2, 2020

    @jkotalik
    Contributor

    The hosting bundle,

  25. jkotalik commented on Mar 25, 2020

    @jkotalik
    Contributor
  26. ghost locked as resolved and limited conversation to collaborators on Apr 24, 2020
  27. added
    area-networking
    and removed on Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Needs: Attention 👋area-networkingfeature-iisinvestigate

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions