HTTP Error 500.19 – Internal Server Error when publishing ASP.Net Core Web application to IIS Server

I was deploying asp.net core web app over the virtual machine IIS. I was able to set up all the things properly but after deploy, I got the error “HTTP Error 500.19 – Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.”

It was pointing out to the web.config file.

HTTP Error 500.19 – Internal Server Error

So after scratching my head an hour, I found I have to install the .net core on my server to make this working.

Here are the steps:
1. Navigate to this URL: https://dotnet.microsoft.com/download/dotnet-core/3.0
2. Install the “Hosting Bundle”

3. Restart the IIS server and reload the URL it should be working fine now.

Posted by | View Post | View Group