There are two steps needs to be follow to work routing properly, 1. First, needs to be register in Application_start () event in global.asax 2. Second, needs to be define your own routing mechanism in same file.
http://www.dotnetfunda.com/interviews/show/5749/what-are-the-settings-to-be-done-for-the-routing-to-work-properly-in-a
The settings must be done in 2 places for the routing to work properly.They are: i) Web.Config File : In the web.config file, the ASP.NET routing has to be enabled. ii) Global.asax File : The Route table is created in the application Start event handler, of the Global.asax file.