G'day,
I am trying to move an application from windows server 2003 R2 to Server 2008 R2. It uses MVC 1.0 and to make it work I added a wildcard handler and then unchecked the "check file exists" to make the app work.
In Server 2008 I've tried running in classic and integrated modes and I cannot get anything other than the root page of the site to load. The URL rewriting just isn't working for anything and I get a 404 error.
I don't know my way round IIS 7.5 so I really don't know where to look to try and debug why I get the 404 and why the URL Rewriting is failing.
The handlers are different in IIS7 than IIS6. You don't need to add the wildcard handler as long as .NET was already installed. I assume that was for aspnet_isapi.dll that you're trying to add.
You should be able to remove that and make sure that just .NET is installed. To re-register .NET you can run aspnet_regiis -i from the framework folder(s).
Make sure that the MVC 1.0 install worked, but that will simply register it in the GAC which your ASP.NET app can call directly. IIS doesn't have (or need to have) any awareness of MVC.
And, you want to make sure that .NET works. At the top level of IIS, go to the ISAPI extensions and ensure that your framework version is enabled. That can cause a 404.
Then try testing a simple hello world for a test.aspx page. Once you have that working, then move forward from there.