title: Deploying .net core to IIS
body: <p>I am trying to deploy .net core 3.1 Test Web API application into IIS and I am getting error 500.19 error code 0x8007000d. Can you please help me to identify what is wrong with the config file. Here is the code:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;configuration&gt;
      &lt;location path=&quot;.&quot; inheritInChildApplications=&quot;false&quot;&gt;
      &lt;system.webServer&gt;
          &lt;handlers&gt;
          &lt;add name=&quot;aspNetCore&quot; path=&quot;*&quot; verb=&quot;*&quot; modules=&quot;AspNetCoreModuleV2&quot; resourceType=&quot;Unspecified&quot; /&gt;
          &lt;/handlers&gt;
          &lt;aspNetCore processPath=&quot;.\Test.exe&quot;
                      stdoutLogEnabled=&quot;false&quot;
                      stdoutLogFile=&quot;.\logs\stdout&quot;
                      hostingModel=&quot;inprocess&quot; /&gt;
      &lt;/system.webServer&gt;
      &lt;/location&gt;
  &lt;/configuration&gt;
  </code></pre>
  <p>Using Jexus manager I generated a report and it says Invalid certificate, I installed IIS manager on my local machine and tried to browse using localhost and it returns error 404.</p>