Question: We are having issues deploying our WebAPI service onto our production server. When attempting to access the Controller we receive "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

We created a new project from the standard WebAPI Template and it has the same problem, so it is definitely not our code that is causing the issue. We also have another server with the same hosting company and when deployed to that everything works fine. All IIS features are identical between servers.

At one stage we had the Application Pool set to .Net Framework 2.0 and the Website did not complain about that so it isn't even trying to spin up the service. We also have an odata service on the same web application and it is all functioning fine. So it seems to be something to do with MVC routing and WebAPI.

We copied across every dll that we could think of to the server but nothing fixed the situation.

Does anyone have any ideas on what could be different between the 2 servers that would cause the error above?

Thanks in advance

Answer: 
This error message is also displayed when running your WebApi using OWIN and you forget to include the following line in your startup class:

```
app.UseWebApi(config);

```
Download & Install the asp.net core hosting bundle
<https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1#install-the-net-core-hosting-bundle>

[Add module mapping handler "AspNetCoreModuleV2" in the IIS Handler for the site having issue](https://i.stack.imgur.com/XqztW.png)