---
title: 500.19 error on accessing Activate Web on a new install
slug: 50019-error-on-accessing-activate-web-on-a-new-install
docTags: 
createdAt: 2026-02-19T02:20:00.110Z
---

## Summary

A HTTP 500.19 error can occur when IIS is installed **after** the ASP.NET Core Hosting Bundle.

In this scenario, the ASP.NET Core module is not correctly registered with IIS, which prevents the web application from loading.

The issue is resolved by repairing the ASP.NET Core Hosting Bundle installation.

## Symptoms

When browsing to the Activate Web Portal, IIS returns:

- **HTTP Error 500.19 – Internal Server Error**&#x20;
- The page cannot be displayed because the related configuration data for the page is invalid.&#x20;

In many cases, the detailed error will reference:

- AspNetCoreModuleV2&#x20;
- aspNetCore configuration section&#x20;
- An invalid module configuration&#x20;

## Cause

The ASP.NET Core Hosting Bundle installs the required IIS modules (including AspNetCoreModuleV2) and registers them with IIS.

If IIS is not installed at the time the Hosting Bundle is installed:

- The IIS integration components are not correctly registered.&#x20;
- The aspNetCore handler and module mappings are missing.&#x20;
- IIS cannot process ASP.NET Core applications.&#x20;

Installing IIS afterwards does not automatically repair or register these components.

## Resolution

Repair the ASP.NET Core Hosting Bundle installation.

### Steps

1. Log on to the Activate web server.&#x20;
2. Open **Control Panel → Programs and Features**.&#x20;
3. Locate **Microsoft ASP.NET Core Hosting Bundle**.&#x20;
4. Select **Change**.&#x20;
5. Choose **Repair** and complete the wizard.&#x20;
6. Restart IIS: iisreset&#x20;
7. Re-test the Activate Web Portal.&#x20;

## Alternative Method (Reinstall)

If repair does not resolve the issue:

1. Uninstall the ASP.NET Core Hosting Bundle.&#x20;
2. Reboot the server.&#x20;
3. Reinstall the Hosting Bundle.&#x20;
4. Run iisreset.&#x20;

## Verification

After repair:

- Confirm the **AspNetCoreModuleV2** module is visible in IIS Manager under:&#x20;
  - Server → Modules&#x20;
- Confirm the Activate site loads without a 500.19 error.&#x20;

## Prevention

When building new Activate web servers:

1. Install **IIS** first.&#x20;
2. Install required IIS features.&#x20;
3. Install the **ASP.NET Core Hosting Bundle**.&#x20;
4. Deploy Activate.&#x20;

Installing components in this order ensures IIS integration is registered correctly.
