Quantcast
Viewing latest article 10
Browse Latest Browse All 10

FIX: 404 Error after deploying an MVC 4 Application to Windows 2008 R2 IIS 7.5

I have been working on a new ASP.NET MVC 4 Web API application for accessing some company data stored in a database. This is pretty standard stuff and I was able to build and test the application fairly quickly, learning along the way about Web API. That amazing story is not the reason for this post, the reason for this post relates to troubles deploying this application out to a Windows 2008 R2 server running IIS 7.5.

Usually once a web service is configured its pretty easy to create and configure a new IIS website on the server, define where the files are stored, deploy the application to the file share and test it out. Typically this process takes less than five minutes if you have the appropriate RDP sessions open. But this time, after I completed all of the steps needed to deploy the application, the site kept coming up with a 404 error. After looking around on the internet...it seems like A LOT of people are having this problem. Most of the time it looks like people forgot to do something on the setup of the webserver...but I dont do that...not me...no way Image may be NSFW.
Clik here to view.
;)
. Anyway this time around I really didn't forget to configure something on the webserver (I wouldn't be writing about my loss of memory) but instead there is an MS hotfix that addresses this problem. The KB number is 980368 and is located on the Microsoft site here http://support.microsoft.com/kb/980368.

You will have to request the hotfix link via an email request and the link didn't work for me...but it did for my colleague so I was able to get the installer I needed.

Environment Details

  • Windows 2008 R2
  • IIS 7.5
  • .NET Framework 4.5

If you have this problem hopefully this will help you fix it.

Technorati Tags: , , , , ,


Viewing latest article 10
Browse Latest Browse All 10

Trending Articles