azure web sites - HTTP Error 502.5 - Process Failure asp.net core 2.0 -
problem
i developed web app , published azure asp.net core 1.1 , working fine until upgraded web application core 2.0 final release , app working locally when deploy azure gives me issue .
<itemgroup> <packagereference include="microsoft.aspnetcore.all" version="2.0.0" /> </itemgroup> i update .csproj file line of code
http error 502.5 - process failure
common causes of issue:
the application process failed start application process started stopped application process started failed listen on configured port
troubleshooting steps:
check system event log error messages enable logging application process' stdout messages attach debugger application process , inspect
with bit of searching this worked me.
essentially clean out wwwroot folder console on azure portal. make sure top wwwroot folder (i had sub wwwroot folder reason.)
rd wwwroot /s /d
should trick. republish site. appear publish process not delete exists within deploy folder. have 1.1 .dlls , 2.0 .dlls.
hope trick you.
Comments
Post a Comment