views:

68

answers:

1

I cannot get ASP .NET MVC 4.0 to work when deployed on IIS 7.5 (Windows 7 x64) in Integrated Mode (or any other mode for that matter, but let's focus on Integrated Mode).

I am following these very simple steps

  1. Create a new ASP .NET MVC 2 Web Application

  2. Hit Run. It works.

  3. Edit the project configuration to use my local IIS web server (http://localhost/MvcApplication1 - click Create Virtual Directory)

  4. Hit Run. I get "The webpage cannot be found".

Pretty straightforward, right? It should work...but it doesn't.

The web application is running as DefaultAppPool (which is v4.0 Integrated pipeline mode, so no additional configurations should be required right?). Even so, I've tried creating a default wildcard route in the Handler Mappings configuration and that makes no difference.

Any ideas? Considering that MS has decided to internalize the entire resource location mechanism of MVC, I'm not sure what the best way of debugging this is...

Thanks.

+1  A: 

I uninstalled HTTP Redirection, then reinstalled it, then ran regiis from both 32 bit and 64 bit framework directories and magically things started working as expected...

JeffN825