You will notice "HTTP Error 500.0 - ANCM In-Process Handler Load Failure" when you try to upgrade & publish your application from ASP.NET Core 2.1 runtime to ASp.NET Core 2.2 runtime and deploy on IIS.
You can resolve this error by performing the following steps.
i: While deploying make sure you publish your application by selecting win-x64
ii: Under IIS try to create new poll for your application and point your application to newly created poll.
iii: Map your application with newly created pool by using Advance Settings
iv: Restart your application and browse your website.
This will resolve this issue.