title: Deploy .NET Core ASP.NET Website - HTTP Error 502.5 - Process Failure
body: <p>I'm trying to publish the template project "ASP.NET Core Web Application (.NET Framework)" from Visual Studio 2015 to IIS.</p>
  
  <p>I use the Visual Studio publish to File System feature.</p>
  
  <p>I'm using Windows 10. </p>
  
  <p>I followed the guide from <a href="https://docs.asp.net/en/latest/publishing/iis.html" rel="nofollow noreferrer">here</a>. </p>
  
  <ul>
  <li>I set up a website in IIS and changed the Application Pool .NET CLR Version to No Managed Code</li>
  <li>I instaled the .NET Core Windows Server Hosting bundle</li>
  <li>I restarted my machine.</li>
  </ul>
  
  <p>I get this error:</p>
  
  <p><a href="https://i.stack.imgur.com/2CqLy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2CqLy.png" alt="HTTP Error 502.5 - Process Failure"></a></p>
  
  <p>I added a logs folder, but no logs get created.</p>
  
  <p>Any ideas on how I can solve this?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Output of running the .exe from powershell:</p>
  
  <p>PS C:\TestCoreWebsite> .\Web_CoreWebNetFramework.exe
  Hosting environment: Production
  Content root path: C:\TestCoreWebsite
  Now listening on: <a href="http://localhost:5000" rel="nofollow noreferrer">http://localhost:5000</a>
  Application started. Press Ctrl+C to shut down.</p>
  
  <p>Then I navigate to <a href="http://localhost:5000" rel="nofollow noreferrer">http://localhost:5000</a> and the sample site works.</p>