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:
I use somee.com free hosting.
Could anyone help me?
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
Installing IIS URL Rewrite (https://www.iis.net/downloads/microsoft/url-rewrite) helped me in this case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With