0

Maybe I am confused here but I am trying to go to http://ryan.local.myappname.com/Order

other things such as /Home work and I checked and found this routes.MapRoute thing and added this:

routes.MapRoute("Order", "Order", new { controller = "Order", action = "Index" });

But it still says page not found... what the dealio?

MetaGuru
  • 42,847
  • 67
  • 188
  • 294

2 Answers2

0

Try this:

routes.MapRoute(
            "Order",                                              
            "{controller}/{action}",                           
            new { controller = "Order", action = "Index"}  
        );
JayJay
  • 12,275
  • 1
  • 16
  • 4
  • sigh: The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. – MetaGuru Sep 15 '09 at 16:44
0

Are you running IIS 6?

If so, it has known issues that you'll have to manually resolve:

http://blog.codeville.net/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/

The Matt
  • 6,618
  • 7
  • 44
  • 61