Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP Error 500.32 - Failed to load ASP.NET Core Hosting how can I solve this?

I'm trying to deploy an ASP.NET Core Web API into an IIS site in windows 2012 server, I've installed IIS from 0 and when I deploy the app and test a petition with Postman I get the 500.32 error.

I've already installed the .NET Core hosting bundle v 6.0.14 also I've configured the application pool to no managed code and I restarted all the services including the IIS.

Restarted the server isn't an option because I can't get physical access to the server, I'm working from a remote location

This is my dotnet --info

I'm trying to deploy an ASP.NET Core 6 Web API.

I've already done:

  • Compile and publish the API

  • Installed the is

  • Create a site and application to deploy the API

  • Paste the files from the publish folder to the site folder

  • Installed the netcore hosting bundle

like image 240
mara345 Avatar asked Dec 06 '25 20:12

mara345


1 Answers

The problem was in the compilation and publish process. i had to add the check for Ready to run in the publish configurations, i put that and solved the issue

like image 102
mara345 Avatar answered Dec 08 '25 15:12

mara345



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!