HTTP Error 500.19 with Error Code 0x8007000d visual studio 2017 while deploying .net core application

23

I created default .net core application using visual studio 2017 and am trying to publish it, The application works perfectly when I start it with 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.

Could anyone help me?

c#
asp.net
iis
.net-core
visual-studio-2017
asked on Stack Overflow Mar 19, 2017 by Badri Neparidze • edited Mar 19, 2017 by Badri Neparidze

5 Answers

29

Usually this error indicates that the ASP.NET Core Module is not installed on the server. Hosting ASP.NET Core application on IIS requires Microsoft ASP.NET Core Module. You should confirm that the module has been installed. Reference

answered on Stack Overflow Mar 20, 2017 by regnauld
8

Installing IIS URL Rewrite (https://www.iis.net/downloads/microsoft/url-rewrite) helped me in this case.

answered on Stack Overflow Sep 27, 2017 by flam3
5

Reinstall .NET core or do a repair. It worked for me. This happens when you first install .NET core before IIS.

answered on Stack Overflow Jul 9, 2019 by alexrait
4

Installing .NET Core hosting bundle with respect to my .NET Core release version worked for me.

For .NET Core 2.2 you can visit here

Or you can select other versions here

answered on Stack Overflow Aug 20, 2019 by Ashish Dehariya
1

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

Note to Microsoft: If I'm installing the SDK, maybe I need the hosting bundle too.

Source

answered on Stack Overflow Jul 25, 2019 by jaycer

User contributions licensed under CC BY-SA 3.0