When I deploy ASP.NET CORE 2.0 WebApi to IIS under default website I get not found error


Bakare Isaac Omotayo

enter image description hereenter image description hereScreenshot of my IIS

It works with label "2" outside the default website, but works inside the default website

Mike Orland

Try the following...

Install the host bundle again and publish from Visual Studio again.

If that doesn't solve the problem, go to the publish output folder and rundotnet run <YourWebDll>.DLL

Related


Deploy .Net Core WebAPI project on IIS

Vinki I created a simple web API using .Net Core and trying to publish it to IIS. But getting HTTP 500. I followed the https://docs.asp.net/en/latest/publishing/iis.html article and did whatever was mentioned there. I only installed as https://www.microsoft.co

Deploy .Net Core WebAPI project on IIS

Vinki I created a simple web API using .Net Core and trying to publish it to IIS. But getting HTTP 500. I followed the https://docs.asp.net/en/latest/publishing/iis.html article and did whatever was mentioned there. I only installed as https://www.microsoft.co

Deploy .Net Core WebAPI project on IIS

Vinki I created a simple web API using .Net Core and trying to publish it to IIS. But getting HTTP 500. I followed the https://docs.asp.net/en/latest/publishing/iis.html article and did whatever was mentioned there. I only installed as https://www.microsoft.co

Deploy .Net Core WebAPI project on IIS

Vinki I created a simple web API using .Net Core and trying to publish it to IIS. But getting HTTP 500. I followed the https://docs.asp.net/en/latest/publishing/iis.html article and did whatever was mentioned there. I only installed as https://www.microsoft.co

Deploy .Net Core WebAPI project on IIS

Vinki I created a simple web API using .Net Core and trying to publish it to IIS. But getting HTTP 500. I followed the https://docs.asp.net/en/latest/publishing/iis.html article and did whatever was mentioned there. I only installed as https://www.microsoft.co

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

Brandon I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server erro

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.

ASP.NET Core WebAPI 500 Internal Error in IIS 7.5

james I am trying to get this WebAPI to work. Well, use IIS. Everything works fine in IIS express, but when I publish it, especially 1 api request doesn't work. The url I am trying to access API/[Controller]/{date}/{integer}. I keep getting a 500 server error.

502.5 error when deploying asp.net core website using IIS

Tori E I have an ASP.NET Core 1.0 application that has been successfully deployed and running on a pre-production server for several months. Today I tried to deploy the website to our production server using this article as a guide : https://docs.asp.net/en/la

502.5 error when deploying asp.net core website using IIS

Tori E I have an ASP.NET Core 1.0 application that has been successfully deployed and running on a pre-production server for several months. Today I tried to deploy the website to our production server using this article as a guide : https://docs.asp.net/en/la

502.5 error when deploying asp.net core website using IIS

Tori E I have an ASP.NET Core 1.0 application that has been successfully deployed and running on a pre-production server for several months. Today I tried to deploy the website to our production server using this article as a guide : https://docs.asp.net/en/la

502.5 error when deploying asp.net core website using IIS

Tori E I have an ASP.NET Core 1.0 application that has been successfully deployed and running on a pre-production server for several months. Today I tried to deploy the website to our production server using this article as a guide : https://docs.asp.net/en/la

502.5 error when deploying asp.net core website using IIS

Tori E I have an ASP.NET Core 1.0 application that has been successfully deployed and running on a pre-production server for several months. Today I tried to deploy the website to our production server using this article as a guide : https://docs.asp.net/en/la

502.5 error when deploying asp.net core website using IIS

Tori E I have an ASP.NET Core 1.0 application that has been successfully deployed and running on a pre-production server for several months. Today I tried to deploy the website to our production server using this article as a guide : https://docs.asp.net/en/la