Fix IIS 500.19 Configuration Error

Problem

IIS site fails with a 500.19 configuration error

Environment

Windows Server 2019 with IIS

Cause

Invalid web.config or missing permissions

Steps

  1. Open IIS Manager
  2. Navigate to your site
  3. Check the web.config file for errors
  4. Verify NTFS permissions on the site folder
  5. Restart IIS

Command

iisreset

Edge Cases

Summary

Fix the web.config or restore proper permissions to resolve the IIS 500.19 error