Valery's Mlog

Mindlog of a Freak
August 25th, 2016 by Valery Dachev

Aspnetcore.dll Failed to Load

Hi there!

I’ve been working with relatively new stuff these days. And I am the kind of guy who has issues… I mean software issues. And solving them could take some time and reading. So I decided to help you and myself by taking notes of some common ones and quick fixes for them.

So here goes the first one.


A 32-bit Internet Information Server (IIS) application pool crashes. In the event log you see the following message like this:

The Module DLL C:\WINDOWS\system32\inetsrv\aspnetcore.dll failed to load. The data is the error.

and/or like this:

The Module DLL C:\WINDOWS\system32\inetsrv\httpplatformhandler.dll failed to load. The data is the error.

I guess you’re running a Windows 10 with ASP.NET Core Module (AspNetCoreModule) and/or HTTP Platform Handler Module (HttpPlatformHandlerModule) installed. And you have probably installed the Windows 10 Anniversary Update afterwards.


The Windows 10 Anniversary Update reinstalls IIS but fails to update the applicationhost.config file accordingly, causing 32-bit application pools to try to load the 64-bit version of the beforementioned assemblies.


  1. Uninstall .NET Core (and/or DNX);
  2. Uninstall ASP.NET Core Module (and/or HTTP Platform Handler Module);
  3. Open the %SystemRoot%\System32\inetsrv\config\applicationhost.config file with your favourite editor (running as Administrator);
  4. Locate and and remove any elements mentioning “aspnetcore.dll” (and/or “httpplatformhandler.dll“);
  5. Reinstall ASP.NET Core Module (and/or HTTP Platform Handler Module);
  6. Reinstall .NET Core (and/or DNX).

More Information


3 Responses to “Aspnetcore.dll Failed to Load”
  1. Andrija Huzjak says

    “Repiar Microsoft .NET Core 1.0.1 – VS 2015 Tooling Preview 2 and reboot” did it for me.
    Its sad that this is known for months:

  2. In my case I had issues with aspnetcore.dll and with httpplatformhandler.dll. provided solution did the trick. thank you very much!!

  3. Bjørn Hildgaard Andersen says

    After trying almost every thing, I did a repair on all the .NET Core modules installed and the rebooted the server. It solved the problem for me. I cant belive that this is still an issue in 2020!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: