views:

153

answers:

1

I have a MVC application that works on cassini, works on IIS 6, but I have issues with in IIS 7. I think my issue has to do with how IIS 7 handles threading in a integrated app pool. So to test my theory I'm trying to get my MVC app running in classic mode on IIS 7. I set my app pool to classic and I add a wildcard script for aspnet_isapi.dll. According to all the documentation I've found this is all I should need to do to get MVC running in IIS 7 classic. However when I try and access the web site I get a 404 error. What am I missing?

A: 

A few things that come to mind right away:

  • Your web server may not have the ASP.MVC Framework installed, and your web app deployment doesn't include the MVC dll.
  • The app pool behind your web site isn't running in ASP.NET mode.
  • Your web bits aren't where you think they are (simple file location misunderstanding)
JMP
The MVC app runs in intregrated mode. When I switch it over to classic mode I start getting the 404 error.
DanielC