Url Routing in IIS 7 hosting environment : ASP.NET
Posted on 2011-02-25
I am trying to implement ASP.NET URL routing using the System.Web.Routing. And this seems to work fine on my localhost however when I go live I am getting an IIS 7's 404 error (File not found). FYI the hosting uses Windows Server 2008 IIS7 and It has .NET Framework 3.5 SP1
I think this is making some difference in handling the routing mechanism. But I am not able to figure out whats exactly happening.
In Web.Config HttpModules i have added the below setting
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Can anybody suggest how to resolve this.