Error running ASP.net CORE 1 project in IIS
<p>I've recently created a very simple ASP.net CORE 1 application using the default template.  I published it to a directory and created a new website in IIS for it.  Tested connecting to the site and it worked fine!  Great!</p>

<p>I took the same code and deployed it to my test server and get very different results.  I get an error:</p>

<blockquote>
  <p>HTTP Error 502.5 - Process Failure</p>
  
  <p>Common causes of this issue:</p>
  
  <p>The application process failed to start The application process
  started but then stopped The application process started but failed to
  listen on the configured port</p>
</blockquote>

<p>What could be the main difference between the two machines causing the problem?</p>

<p>Looking at the Windows event log, I see this error:</p>

<blockquote>
  <p>Failed to start process with commandline '"dotnet" .\tester.dll',
  ErrorCode = '0x80070002'.</p>
</blockquote>