user12074288
user12074288

Reputation:

Issue on hosting dot net core 2.1 application on windows server 2019

I hosted dot net core 2.1 web API on windows server 2019.But I get an error "HTTP Error 502.5 - Process Failure" Please send me any suggestions.

Upvotes: 0

Views: 648

Answers (2)

TheGunners
TheGunners

Reputation: 157

Make sure you have installed .NET Core hosting Bundled and make sure you set your application pool to No Managed Code. Check this post https://windowswebhostingreview.com/asp-net-core-hosting-3-simple-steps-to-fix-502-5-error-in-asp-net-core/

Upvotes: 1

ajawad987
ajawad987

Reputation: 4637

Hosting on IIS will require one more additional install, the ASPNET Core Hosting Module.

This module installs into IIS to build a bridge between IIS and the underlying Kestral server that ASPNET Core apps run under.

The link above describes the details of hosting on IIS, and also provides a link to download and install the hosting module required for IIS to work with ASPNET Core apps.

Upvotes: 0

Related Questions