Single post

URL Routing problem with ASP.NET 4 on GoDaddy IIS 7

If you get 404 errors when trying to add URL Routing with ASP.NET 4 (Web Forms) on GoDaddy, simply reference the relevant modules in your web.config file:

    <modules runAllManagedModulesForAllRequests="true"> 
      <remove name="UrlRoutingModule" /> 
      <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, 
        Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 
      <add name="UrlRoutingHandler" 
        verb="*" path="UrlRouting.axd" 
        type="System.Web.HttpForbiddenHandler, System.Web,  
        Version=, Culture=neutral,  

Add this to the system.webServer node.

March 26th, 2011 at 4:16 pm

ooo thank you.. was going crazy trying to figure this one out and as always godady support had no idea. thanks!!!!!!

Phuc Bui
August 21st, 2011 at 10:28 pm

Very helpful. This helps to resolve my issue. Thanks!

October 2nd, 2011 at 12:52 am

thank you man !

Rakesh Verma
October 31st, 2011 at 1:53 am

Brilliant. It works!

December 20th, 2011 at 11:56 pm

thanks buddy

May 2nd, 2012 at 6:31 am

Just replaced the 404 error with 500 error (“service activation exception).. works locally just fine, with or without the web.config “hack”.

August 17th, 2013 at 12:45 am

Hi there,
even after adding this, some of route paths like

/Account/Register is not working..
Any suggestion


theme by teslathemes