502.5 when deploying ASP.Net Core 2.0 app to Windows Server 2016

3

I got a brand new Windows Server 2016 Datacenter Edition and before deploying my web app with Web Deploy, I followed this to set it up and then I followed this to set the environment up. The only difference is that I used Plesk to create the web space and then manually changed the ApplicationPool CLR version to No Managed Code and this has worked on a Windows Server 2012. Also Plesk created all the required identities and permissions so I'm not using the default ApplicationPoolIdentity, but the identity created by Plesk and yes, this identity has all the required permissions at the app destination and at C:\Program Files\dotnet

I am getting the 502.5 - Process Failure error in the browser and 0x80070002 : 0 error in the Application Log (the module Log file is empty). I checked all the instructions for that error here, but nothing changed. Running the app locally on the server using dotnet MyApp.dll works fine. I repaired all the VC++ Redistributable installations, I restarted IIS and even the whole server, but nothing changed.

Am I missing something or not doing something or doing something wrong?

iis
asp.net-core
hosting
asked on Stack Overflow Dec 9, 2017 by GregoryHouseMD • edited Dec 9, 2017 by GregoryHouseMD

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0