Http Error 500 19 Aspnetcore Hosting Bundle
If you encounter HTTP Error 500.19 – Internal Server Error when opening the Quay site or an app under it in IIS, the ASP.NET Core Runtime Hosting Bundle is l...
If you encounter HTTP Error 500.19 – Internal Server Error when opening the Quay site or an app under it in IIS, the ASP.NET Core Runtime Hosting Bundle is likely missing.
What this means
- IIS can’t load the ASP.NET Core Module (ANCM) that hosts .NET apps unless the Hosting Bundle is installed.
- Without it, sites can fail at startup with 500.19.
Required installation (one-time per server)
- Install the ASP.NET Core Runtime Hosting Bundle (x64) for your .NET runtime version.
- Example (9.0.x): https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-9.0.10-windows-hosting-bundle-installer
Steps
- Close IIS Manager if it’s open.
- Download the Hosting Bundle (x64) from the Microsoft .NET site.
- Run the installer as Administrator and accept defaults.
- After install, restart IIS:
- Open an elevated PowerShell or Command Prompt and run:
iisreset
- Open an elevated PowerShell or Command Prompt and run:
- Refresh the site in your browser.
Verify
- The site should now start without 500.19.
- Optional: check Control Panel > Programs and Features for “Microsoft ASP.NET Core X.Y Runtime” and “ASP.NET Core Module”.
Notes
- Architecture: choose x64 for 64-bit servers.
- Version: use the Hosting Bundle version that matches the app’s target runtime. The link above is an example for .NET 9.0.10.
- Updates: keep the runtime current with Windows Update or periodic manual updates.
Troubleshooting if it still fails
- Review Windows Event Viewer > Windows Logs > Application for ASP.NET Core Module errors.
- Confirm required IIS features are installed (see “IIS Features” in this section).
- Ensure no group policy or antivirus blocked the installation.