I need to update the handler mappings on IIS 7.5 to allow URLs that don\'t have extensions to be routed to an application. The application was originally written in ASP.NET 2.0,
I was having the same issue, it turns out the project used the IIS URL rewrite module (not installed by default).
After I installed this, the site worked first time.
Check your web.config file (especially if it doesn't open in IIS) for any non default IIS modules.