HTTP error 500.19 with error code 0x8007000d visual studio 2017 when deploying .net core application

I have created a standard .net application using visual studio 2017 and am trying to publish it. The application works fine when I launch it using visual studio 2017, IIS Express. But when I publish the application, I get the following error: enter image description here

I use somee.com free hosting.

Can anyone help me?

+18
c # iis visual-studio-2017 .net-core
source share
5 answers

Typically, this error indicates that the main ASP.NET module is not installed on the server. Hosting the main ASP.NET application for IIS requires the Microsoft ASP.NET base module. You must confirm that the module is installed. Link

+24
source

In this case, setting the URL of the IIS URL ( https://www.iis.net/downloads/microsoft/url-rewrite ) helped me.

+4
source

Reinstall the .NET kernel or make a repair. It worked for me. This happens when you first install the .NET kernel before IIS.

+1
source

Installing the .NET Core hosting package for my production version of .NET Core worked for me.

For .NET Core 2.2 you can visit here

Or you can choose other versions here

+1
source

I was getting this error on Windows 10 and I had to install the Core Hosting Bundle .

Note for Microsoft : if I install the SDK , I may also need a hosting package.

A source

0
source

All Articles