I have a route table similar to this
// Allow browsing categories by name, instead of by ID.
routes.MapRoute("Categories", "Categories/{action}/{name}",
new { controller = "Categories", action = "Index", name = "" }
);
// All other pages use the default route.
routes.MapRoute("Default", "{controller}/{action}/{id}",
new { controller = "Applications", action = "Index", id = "" }
);
// Show a 404 error page for anything else.
routes.MapRoute("Error", "{*url}",
new { controller = "Error", action = "404" }
);
However the wildcard route at the end is not being invoked... if I type in a controller or URL that does not exist it attemps the default route above the wildcard route... thus causing the infomous resource not found ASP.net error page... I want a custom error page... please help