ASP.NET 4.0 URL Routing HTTP Error 404.0 - Not Found on server

Posted by SheoNarayan under Error and Solution on 9/5/2011 | Points: 10 | Views : 4056 | Status : [Administrator] | Replies : 0


If you have implemented ASP.NET 4.0 URL Routing in your application when you deploy on the server it may not work.


Keep following config after </system.web> (make sure that it is not inside system.web).

<modules runAllManagedModulesForAllRequests="true" />

And ASP.NET 4.0 URL Routing starts working !

Hope this helps, Thanks

Sheo Narayan


(No response found.)

Login to post response