{"id":391,"date":"2026-11-24T13:58:45","date_gmt":"2026-11-24T20:58:45","guid":{"rendered":"https:\/\/hostandtech.com\/kb\/?p=391"},"modified":"2026-11-24T13:58:45","modified_gmt":"2026-11-24T20:58:45","slug":"fix-iis-http-error-500-19","status":"publish","type":"post","link":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/","title":{"rendered":"HTTP Error 500.19 in IIS: How to Fix It by Error Code (0x8007000d, 0x80070021, 0x80070005)"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>HTTP Error 500.19 means IIS couldn&#8217;t read the configuration for the page, so it stopped before running any of your code. The fix depends on the <strong>Error Code<\/strong> shown on the error page: <code class=\"\" data-line=\"\">0x8007000d<\/code> is a broken or unrecognised <code class=\"\" data-line=\"\">web.config<\/code> (usually a <code class=\"\" data-line=\"\">&lt;rewrite&gt;<\/code> or <code class=\"\" data-line=\"\">&lt;aspNetCore&gt;<\/code> section for a module that isn&#8217;t installed), <code class=\"\" data-line=\"\">0x80070021<\/code> is a section locked at server level, and <code class=\"\" data-line=\"\">0x80070005<\/code> is IIS lacking permission to read the folder.<\/p>\n<p>This guide is for anyone running a site on IIS on Windows Server 2019, 2022 or 2025, including sites on Plesk for Windows. It shows how to get the full error details, then gives the fix for each error code in the order I run into them on customer servers. Most cases take five minutes once you know which code you have.<\/p>\n<h2>What causes HTTP Error 500.19<\/h2>\n<p>Every 500.19 page has the same headline, &#8220;The requested page cannot be accessed because the related configuration data for the page is invalid.&#8221; The useful part is underneath it, in <strong>Detailed Error Information<\/strong>:<\/p>\n<ul>\n<li><strong>Error Code:<\/strong> the HRESULT that tells you which kind of problem it is.<\/li>\n<li><strong>Config Error:<\/strong> a sentence such as &#8220;Configuration file is not well-formed XML&#8221; or &#8220;This configuration section cannot be used at this path.&#8221;<\/li>\n<li><strong>Config File:<\/strong> the exact file IIS was reading, such as <code class=\"\" data-line=\"\">&#092;&#092;?&#092;C:&#092;inetpub&#092;wwwroot&#092;web.config<\/code>.<\/li>\n<li><strong>Config Source:<\/strong> the offending lines, with the bad one marked.<\/li>\n<\/ul>\n<p>The codes you will actually see, from most to least common:<\/p>\n<table>\n<thead>\n<tr>\n<th>Error code<\/th>\n<th>Meaning<\/th>\n<th>Usual fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code class=\"\" data-line=\"\">0x8007000d<\/code><\/td>\n<td>Bad XML or an unknown section<\/td>\n<td>Fix the tag, or install the missing module<\/td>\n<\/tr>\n<tr>\n<td><code class=\"\" data-line=\"\">0x80070021<\/code><\/td>\n<td>Section locked by a parent config<\/td>\n<td>Unlock it, or remove it from web.config<\/td>\n<\/tr>\n<tr>\n<td><code class=\"\" data-line=\"\">0x80070005<\/code><\/td>\n<td>Access denied reading config<\/td>\n<td>Give IIS_IUSRS read access<\/td>\n<\/tr>\n<tr>\n<td><code class=\"\" data-line=\"\">0x800700b7<\/code><\/td>\n<td>Duplicate entry<\/td>\n<td>Add a <code class=\"\" data-line=\"\">&lt;remove&gt;<\/code> before the <code class=\"\" data-line=\"\">&lt;add&gt;<\/code><\/td>\n<\/tr>\n<tr>\n<td><code class=\"\" data-line=\"\">0x80070003<\/code><\/td>\n<td>Path or file not found<\/td>\n<td>Correct the site&#8217;s physical path<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>How to fix HTTP Error 500.19<\/h2>\n<h3>Fix 1: Get the detailed error page<\/h3>\n<p>Visitors only see a short &#8220;500 &#8211; Internal server error&#8221; page. IIS shows the detailed version to requests made on the server itself, so connect with Remote Desktop and open the site in a browser there, using <code class=\"\" data-line=\"\">http:\/\/localhost\/<\/code> or the site&#8217;s own hostname. If the site has a host-header binding only, add the hostname to the server&#8217;s hosts file pointing at <code class=\"\" data-line=\"\">127.0.0.1<\/code> while you test.<\/p>\n<p>On Plesk for Windows you can&#8217;t always RDP in. In that case, check the domain&#8217;s logs in Plesk; the detailed page is still only shown locally, so ask your host for the Error Code if you can&#8217;t see it.<\/p>\n<h3>Fix 2: 0x8007000d, the web.config is malformed or uses a missing module<\/h3>\n<p>Start by checking the XML itself. PowerShell will refuse to load a file that isn&#8217;t well-formed and tell you the line and position:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-1\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-1'><code class=\"\" data-line=\"\">[xml](Get-Content &quot;C:&#092;inetpub&#092;wwwroot&#092;web.config&quot;) | Out-Null<\/code><\/pre>\n<\/div>\n<p>No output means the XML is fine. An error such as &#8220;The &#8216;rule&#8217; start tag on line 12 position 8 does not match the end tag of &#8216;rules'&#8221; points straight at the unclosed tag.<\/p>\n<p>If the XML is valid, the file almost always contains a section for an IIS module that isn&#8217;t installed. The two I see every week are <code class=\"\" data-line=\"\">&lt;rewrite&gt;<\/code> (needs the URL Rewrite module) and <code class=\"\" data-line=\"\">&lt;aspNetCore&gt;<\/code> (needs the ASP.NET Core Hosting Bundle). Check which modules are present:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-2\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-2'><code class=\"\" data-line=\"\">Get-WebGlobalModule | Where-Object { $_.Name -match &quot;Rewrite|AspNetCore&quot; } | Select-Object Name, Image<\/code><\/pre>\n<\/div>\n<p>No <code class=\"\" data-line=\"\">RewriteModule<\/code> in the list means URL Rewrite is missing: install URL Rewrite 2.1 from the official IIS downloads page and run <code class=\"\" data-line=\"\">iisreset<\/code>. No <code class=\"\" data-line=\"\">AspNetCoreModuleV2<\/code> means the Hosting Bundle for your .NET version is missing; install it from Microsoft&#8217;s .NET download page and restart IIS. <a href=\"https:\/\/hostandtech.com\/kb\/plesk-windows\/deploy-aspnet-core-app-plesk-windows\/\">Deploying an ASP.NET Core app in Plesk<\/a> covers the other startup errors you may hit next (500.30 and 500.31).<\/p>\n<p>Once the module is installed, IIS can read the section and the 500.19 goes away without touching the file. If you copied rules from another server, compare them with the examples in <a href=\"https:\/\/hostandtech.com\/kb\/plesk-windows\/web-config-redirects-url-rewrite-plesk-windows\/\">web.config redirects and URL Rewrite rules<\/a>.<\/p>\n<h3>Fix 3: 0x80070021, the configuration section is locked<\/h3>\n<p>The Config Error reads &#8220;This configuration section cannot be used at this path. This happens when the section is locked at a parent level.&#8221; IIS ships with some sections locked in <code class=\"\" data-line=\"\">applicationHost.config<\/code>, mainly <code class=\"\" data-line=\"\">handlers<\/code>, <code class=\"\" data-line=\"\">modules<\/code> and the authentication sections. A <code class=\"\" data-line=\"\">web.config<\/code> that tries to change them is rejected.<\/p>\n<p>If the server is yours, unlock the section for that one site rather than for the whole server. Open PowerShell as Administrator and run, changing the site name and section to the ones in your error:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-3\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-3'><code class=\"\" data-line=\"\">&amp; &quot;$env:windir&#092;system32&#092;inetsrv&#092;appcmd.exe&quot; unlock config &quot;Default Web Site&quot; -section:system.webServer\/handlers -commit:apphost<\/code><\/pre>\n<\/div>\n<p>For Windows or anonymous authentication, the section is <code class=\"\" data-line=\"\">system.webServer\/security\/authentication\/windowsAuthentication<\/code> or <code class=\"\" data-line=\"\">...\/anonymousAuthentication<\/code>. You can do the same in IIS Manager: select the site, open <strong>Configuration Editor<\/strong>, choose the section and click <strong>Unlock Section<\/strong>.<\/p>\n<p><strong>Note:<\/strong> on shared Plesk hosting you can&#8217;t unlock server sections. Remove the locked block from your <code class=\"\" data-line=\"\">web.config<\/code> and change the setting through the domain&#8217;s pages in Plesk instead, or ask support to change it for you.<\/p>\n<p>If the locked section is authentication and the error appeared after enabling it, also check the feature is installed. Windows Authentication is a separate role service under <strong>Web Server (IIS) &gt; Security<\/strong> in Server Manager.<\/p>\n<h3>Fix 4: 0x80070005, IIS can&#8217;t read the folder<\/h3>\n<p>The Config Error says &#8220;Cannot read configuration file due to insufficient permissions.&#8221; IIS reads <code class=\"\" data-line=\"\">web.config<\/code> as the application pool identity, and those accounts get their rights through the <strong>IIS_IUSRS<\/strong> group. This breaks most often after files are copied in from another machine or restored from a backup with their old permissions. Grant read access to the site&#8217;s root and let it inherit:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-4\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-4'><code class=\"\" data-line=\"\">icacls &quot;C:&#092;inetpub&#092;mysite&quot; \/grant &quot;IIS_IUSRS:(OI)(CI)RX&quot; \/T<\/code><\/pre>\n<\/div>\n<p>If the site&#8217;s content lives on a network share (a UNC path such as <code class=\"\" data-line=\"\">&#092;&#092;fileserver&#092;sites<\/code>), IIS can&#8217;t pass the visitor&#8217;s identity through. In the site&#8217;s <strong>Basic Settings<\/strong>, click <strong>Connect as<\/strong> and set a specific user that has read access to the share. A wrong or expired password there produces the same 500.19.<\/p>\n<p>On Plesk for Windows, use <strong>Repair<\/strong> on the domain&#8217;s file permissions rather than <code class=\"\" data-line=\"\">icacls<\/code>, because Plesk keeps its own per-site accounts. <a href=\"https:\/\/hostandtech.com\/kb\/plesk-windows\/plesk-windows-access-to-path-denied-file-permissions\/\">Fixing file permissions in Plesk for Windows<\/a> walks through it.<\/p>\n<h3>Fix 5: 0x800700b7, a duplicate entry<\/h3>\n<p>The message looks like &#8220;Cannot add duplicate collection entry of type &#8216;mimeMap&#8217; with unique key attribute &#8216;fileExtension&#8217; set to &#8216;.woff2&#8217;.&#8221; Your <code class=\"\" data-line=\"\">web.config<\/code> adds something the server already defines. It happens a lot when a site moves to a newer server whose IIS already knows the file type. Remove the inherited entry first, then add yours:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-5\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-5'><code class=\"\" data-line=\"\">&lt;staticContent&gt;\n  &lt;remove fileExtension=&quot;.woff2&quot; \/&gt;\n  &lt;mimeMap fileExtension=&quot;.woff2&quot; mimeType=&quot;font\/woff2&quot; \/&gt;\n&lt;\/staticContent&gt;<\/code><\/pre>\n<\/div>\n<p>The same pattern works for duplicate <code class=\"\" data-line=\"\">&lt;add&gt;<\/code> entries in <code class=\"\" data-line=\"\">handlers<\/code>, <code class=\"\" data-line=\"\">modules<\/code> and <code class=\"\" data-line=\"\">defaultDocument<\/code>.<\/p>\n<h3>Fix 6: 0x80070003 or 0x8007010b, the path doesn&#8217;t exist<\/h3>\n<p>IIS is pointing at a folder that was moved, renamed or never created. List each site&#8217;s physical path and check it exists:<\/p>\n<div class='ht-code-snippet'><button class='ht-code-snippet__copy' onclick='htCopyCode(\"code-block-6\")' type='button' aria-label='Copy code'><svg class='ht-copy-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z'><\/path><path d='M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z'><\/path><\/svg><svg class='ht-check-icon' viewBox='0 0 32 32' width='16' height='16' fill='currentColor'><path d='M13,24l-9-9,1.414-1.414L13,21.171,26.586,7.586,28,9Z'><\/path><\/svg><\/button><span class='ht-code-snippet__feedback'>Copied to clipboard<\/span><\/p>\n<pre class='ht-code-snippet__code' id='code-block-6'><code class=\"\" data-line=\"\">Get-Website | ForEach-Object { &quot;{0} -&gt; {1} exists: {2}&quot; -f $_.Name, $_.PhysicalPath, (Test-Path ([Environment]::ExpandEnvironmentVariables($_.PhysicalPath))) }<\/code><\/pre>\n<\/div>\n<p>Fix the path in the site&#8217;s <strong>Basic Settings<\/strong>. Check virtual directories and applications under the site too, because each has its own path and they&#8217;re easy to miss after a folder move.<\/p>\n<h3>Fix 7: 0x8007007e or 0x800700c1, a bad module reference<\/h3>\n<p>The config names a module DLL that&#8217;s missing or the wrong bitness for the app pool. A common trigger is <strong>Enable 32-Bit Applications<\/strong> set to True on a pool while a module is only installed as 64-bit. Set it back to False in the pool&#8217;s <strong>Advanced Settings<\/strong> unless the app really needs 32-bit, or remove the reference to the module. If you can&#8217;t tell which module it is, turn on <strong>Failed Request Tracing<\/strong> for status code 500.19, reproduce the error, and read the trace in <code class=\"\" data-line=\"\">C:&#092;inetpub&#092;logs&#092;FailedReqLogFiles<\/code>.<\/p>\n<h2>How to prevent it<\/h2>\n<ul>\n<li><strong>Install modules before the config that needs them.<\/strong> On a new server, add URL Rewrite and the Hosting Bundle before you copy the site over.<\/li>\n<li><strong>Keep a copy before every edit.<\/strong> <code class=\"\" data-line=\"\">copy web.config web.config.bak<\/code> takes a second and gives you a one-step rollback when the site goes down.<\/li>\n<li><strong>Use <code class=\"\" data-line=\"\">&lt;remove&gt;<\/code> before <code class=\"\" data-line=\"\">&lt;add&gt;<\/code><\/strong> for MIME types, handlers and modules, so the file works whether or not the server already defines them.<\/li>\n<li><strong>Test the XML<\/strong> with the PowerShell line in Fix 2 before you upload a changed file.<\/li>\n<li><strong>Restore with permissions in mind.<\/strong> After restoring a site from backup, re-apply read access for IIS_IUSRS. <a href=\"https:\/\/hostandtech.com\/kb\/windows-server\/windows-server-backup-and-recovery-guide\/\">Windows Server backup and recovery<\/a> covers restoring files to their original location with their security settings.<\/li>\n<\/ul>\n<p>New to IIS? <a href=\"https:\/\/hostandtech.com\/kb\/windows-server\/how-to-install-configure-iis-windows-server\/\">Installing and configuring IIS on Windows Server<\/a> sets up the role services this guide refers to. If you&#8217;d rather run Windows sites on a server where you can unlock sections and install modules yourself, our <a href=\"https:\/\/hostandtech.com\/vps-ssd-servers\">VPS plans<\/a> give you full administrator access.<\/p>\n<div class=\"ht-faq-section\">\n<h2>Frequently Asked Questions<\/h2>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">What does HTTP Error 500.19 mean?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>It means IIS found invalid configuration data for the page and stopped before running the site\u2019s code. The Error Code on the detailed error page tells you whether the cause is bad XML, a locked section, missing permissions, a duplicate entry or a wrong path.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">How do I fix error 0x8007000d in IIS?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>Check the web.config XML for unclosed or misspelled tags, then check whether it uses a section for a module that isn\u2019t installed. The usual culprits are the rewrite section, which needs the URL Rewrite module, and the aspNetCore section, which needs the ASP.NET Core Hosting Bundle.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Why can\u2019t I see the detailed 500.19 error?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>IIS shows the detailed page only to requests made on the server itself. Open the site in a browser on the server over Remote Desktop, or ask your host for the Error Code if you don\u2019t have access.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">How do I fix 0x80070021 \u201cThis configuration section cannot be used at this path\u201d?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>The section is locked in applicationHost.config. On your own server, unlock it for that site with appcmd unlock config or the Unlock Section button in Configuration Editor. On shared hosting, remove the section from web.config and set the option in the control panel instead.<\/p>\n<\/div>\n<\/div>\n<div class=\"ht-faq-item\">\n<h3 class=\"ht-faq-question\">Can a Windows update cause HTTP Error 500.19?<\/h3>\n<div class=\"ht-faq-answer\">\n<p>It can if an update or a .NET upgrade removes or replaces a module your web.config uses, such as the ASP.NET Core Module. Reinstall the Hosting Bundle for your .NET version and run iisreset.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Read the Error Code on the IIS 500.19 page and apply the matching fix: malformed web.config or missing module (0x8007000d), locked section (0x80070021), permissions (0x80070005), duplicate entries and wrong paths.<\/p>\n","protected":false},"author":1,"featured_media":384,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[84],"tags":[85,115,248,67],"class_list":["post-391","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-server","tag-iis","tag-iis-configuration","tag-plesk-windows","tag-windows-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HTTP Error 500.19 in IIS: How to Fix It by Error Code<\/title>\n<meta name=\"description\" content=\"Fix HTTP Error 500.19 in IIS by reading its error code: bad web.config XML, a missing URL Rewrite module, a locked section or missing folder permissions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTTP Error 500.19 in IIS: How to Fix It by Error Code\" \/>\n<meta property=\"og:description\" content=\"Fix HTTP Error 500.19 in IIS by reading its error code: bad web.config XML, a missing URL Rewrite module, a locked section or missing folder permissions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/\" \/>\n<meta property=\"og:site_name\" content=\"Host And Tech knowledge base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/stshostandtech\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-24T20:58:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-iis-http-error-500-19.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:site\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/person\\\/b6fa79c48ddaba71af32e395c5b017ee\"},\"headline\":\"HTTP Error 500.19 in IIS: How to Fix It by Error Code (0x8007000d, 0x80070021, 0x80070005)\",\"datePublished\":\"2026-11-24T20:58:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/\"},\"wordCount\":1651,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/fix-iis-http-error-500-19.webp\",\"keywords\":[\"IIS\",\"IIS configuration\",\"Plesk Windows\",\"Windows Server\"],\"articleSection\":[\"Windows Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/\",\"name\":\"HTTP Error 500.19 in IIS: How to Fix It by Error Code\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/fix-iis-http-error-500-19.webp\",\"datePublished\":\"2026-11-24T20:58:45+00:00\",\"description\":\"Fix HTTP Error 500.19 in IIS by reading its error code: bad web.config XML, a missing URL Rewrite module, a locked section or missing folder permissions.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/fix-iis-http-error-500-19.webp\",\"contentUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/fix-iis-http-error-500-19.webp\",\"width\":1200,\"height\":630,\"caption\":\"HTTP Error 500.19 in IIS with the four most common error codes and their causes\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/windows-server\\\/fix-iis-http-error-500-19\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTTP Error 500.19 in IIS: How to Fix It by Error Code (0x8007000d, 0x80070021, 0x80070005)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\",\"name\":\"Host And Tech knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#organization\",\"name\":\"Host And Tech knowledge base\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo-dark.png\",\"contentUrl\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/logo-dark.png\",\"width\":1134,\"height\":395,\"caption\":\"Host And Tech knowledge base\"},\"image\":{\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/stshostandtech\",\"https:\\\/\\\/x.com\\\/stshostandtech\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/#\\\/schema\\\/person\\\/b6fa79c48ddaba71af32e395c5b017ee\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/hostandtech.com\\\/kb\"],\"url\":\"https:\\\/\\\/hostandtech.com\\\/kb\\\/author\\\/admin_fjj7qydm\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HTTP Error 500.19 in IIS: How to Fix It by Error Code","description":"Fix HTTP Error 500.19 in IIS by reading its error code: bad web.config XML, a missing URL Rewrite module, a locked section or missing folder permissions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/","og_locale":"en_US","og_type":"article","og_title":"HTTP Error 500.19 in IIS: How to Fix It by Error Code","og_description":"Fix HTTP Error 500.19 in IIS by reading its error code: bad web.config XML, a missing URL Rewrite module, a locked section or missing folder permissions.","og_url":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/","og_site_name":"Host And Tech knowledge base","article_publisher":"https:\/\/www.facebook.com\/stshostandtech","article_published_time":"2026-11-24T20:58:45+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-iis-http-error-500-19.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@stshostandtech","twitter_site":"@stshostandtech","twitter_misc":{"Written by":"admin","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/#article","isPartOf":{"@id":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/"},"author":{"name":"admin","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/person\/b6fa79c48ddaba71af32e395c5b017ee"},"headline":"HTTP Error 500.19 in IIS: How to Fix It by Error Code (0x8007000d, 0x80070021, 0x80070005)","datePublished":"2026-11-24T20:58:45+00:00","mainEntityOfPage":{"@id":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/"},"wordCount":1651,"commentCount":0,"publisher":{"@id":"https:\/\/hostandtech.com\/kb\/#organization"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-iis-http-error-500-19.webp","keywords":["IIS","IIS configuration","Plesk Windows","Windows Server"],"articleSection":["Windows Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/","url":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/","name":"HTTP Error 500.19 in IIS: How to Fix It by Error Code","isPartOf":{"@id":"https:\/\/hostandtech.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/#primaryimage"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-iis-http-error-500-19.webp","datePublished":"2026-11-24T20:58:45+00:00","description":"Fix HTTP Error 500.19 in IIS by reading its error code: bad web.config XML, a missing URL Rewrite module, a locked section or missing folder permissions.","breadcrumb":{"@id":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/#primaryimage","url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-iis-http-error-500-19.webp","contentUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/11\/fix-iis-http-error-500-19.webp","width":1200,"height":630,"caption":"HTTP Error 500.19 in IIS with the four most common error codes and their causes"},{"@type":"BreadcrumbList","@id":"https:\/\/hostandtech.com\/kb\/windows-server\/fix-iis-http-error-500-19\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostandtech.com\/kb\/"},{"@type":"ListItem","position":2,"name":"HTTP Error 500.19 in IIS: How to Fix It by Error Code (0x8007000d, 0x80070021, 0x80070005)"}]},{"@type":"WebSite","@id":"https:\/\/hostandtech.com\/kb\/#website","url":"https:\/\/hostandtech.com\/kb\/","name":"Host And Tech knowledge base","description":"","publisher":{"@id":"https:\/\/hostandtech.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostandtech.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostandtech.com\/kb\/#organization","name":"Host And Tech knowledge base","url":"https:\/\/hostandtech.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/05\/logo-dark.png","contentUrl":"https:\/\/hostandtech.com\/kb\/wp-content\/uploads\/2026\/05\/logo-dark.png","width":1134,"height":395,"caption":"Host And Tech knowledge base"},"image":{"@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/stshostandtech","https:\/\/x.com\/stshostandtech"]},{"@type":"Person","@id":"https:\/\/hostandtech.com\/kb\/#\/schema\/person\/b6fa79c48ddaba71af32e395c5b017ee","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aa1edac8bbadb442e059a5b65ad45a3b2e3ce689202373b96e3e567517ae4b39?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/hostandtech.com\/kb"],"url":"https:\/\/hostandtech.com\/kb\/author\/admin_fjj7qydm\/"}]}},"_links":{"self":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/comments?post=391"}],"version-history":[{"count":1,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/391\/revisions"}],"predecessor-version":[{"id":396,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/posts\/391\/revisions\/396"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/media\/384"}],"wp:attachment":[{"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/media?parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/categories?post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostandtech.com\/kb\/wp-json\/wp\/v2\/tags?post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}