Valery's Mlog

Mindlog of a Freak
August 25th, 2016

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

%d bloggers like this: