title: Asp.Net Core tag in web.config causes failure
body: <p>I have a .NET Core application which works on one machine but not on another.</p>
  
  <p>The problem is that the application fails to load, because the IIS does not recognize the following</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;aspNetCore processPath="dotnet" arguments=".\MyApp.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" /&gt;
  </code></pre>
  
  <p>The result is that when I click on the IIS authentication configuration, I get an error. If I remove the <code>aspNetCore</code> tag I can view the authentication settings, but then the application doesn't actually start.</p>
  
  <p>Before you start giving advice about not using <code>web.config</code> for .NET Core, remember that it works on my other machine. Also, I need to use Windows Security and ASP.NET Impersonation.</p>
  
  <p>Both machines are running Windows 10 Pro, and I have checked the following</p>
  
  <ul>
  <li>IIS features installed: identical</li>
  <li>WAS and W3SVC: both started and running under Local System</li>
  <li>Application Pool: both have .Net 4.0 CLR, classic mode</li>
  <li>Folder and file security: identical</li>
  <li>Binary compare of the application and all dlls: identical</li>
  </ul>
  
  <p>I don't normally work with IIS and .NET, so I'm quite puzzled that my application breaks on one of two seemingly identical installations. I have run out of things to check. Any help or pointers would be greatly appreciated.</p>
  
  <p>Here is the complete <code>web.config</code></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;system.web&gt;
      &lt;authentication mode="Windows" /&gt;
      &lt;authorization&gt;
        &lt;deny users="?" /&gt;
      &lt;/authorization&gt;
      &lt;identity impersonate="true" /&gt;
    &lt;/system.web&gt;
    &lt;system.webServer&gt;
      &lt;handlers&gt;
        &lt;add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" /&gt;
      &lt;/handlers&gt;
      &lt;aspNetCore processPath="dotnet" arguments=".\MyApp.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" /&gt;
    &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  &lt;!--ProjectGuid: a447f5e7-6aee-4d26-bef4-c7111a88c409--&gt;
  </code></pre>