Sounds like an IIS issue.
Does this work if you are trying to use an ASP.NET development server (Cassini)?
If you are using IIS6, you need to use wildcard application mappings - see here .
You will also need to create routes according to any ASPX page, for example:
public static void RegisterRoutes(RouteCollection routes) { string[] allowedMethods = { "GET", "POST" }; HttpMethodConstraint methodConstraints = new HttpMethodConstraint(allowedMethods); Route fileDownloadRoute = new Route("{foo}/{bar}", new FileDownload()); fileDownloadRoute.Constraints = new RouteValueDictionary { { "httpMethod", methodConstraints } }; routes.Add(fileDownloadRoute); }
You did it? If so, I would say that your problem is definitely related to IIS.
See here for a good article on ASP.NET 4 Routing for IIS6 and IIS7.
Good luck
RPM1984
source share