I've added URL Routing to my ASP.Net v3.5 site and it works fine on my local PC, but I get the following error on DASP server. HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. Requested URL http://mydomain.com:80/UrlRouting.axd My server type is: Windows 2008 - IIS 7.0 Any ideas? Thanks, Scott.
Working on local on which IIS version? If you're not using IIS7 on local, could it be that the module/handler is not registered correctly in the web.config for IIS7 for the target server?
Thanks Joe. I'm using IIS 5.1 for development, but I included the proper module & handler keys in my web.config file for IIS7. I think my problem may be with the path="UrlRouting.axd" attribute defined in the following handler based on the IIS7 error I'm getting. <system.webServer><handlers><add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="SimpleRoutingTest.RoutingHandler, SimpleRoutingTest"/></handlers></system.webServer> Is there an alternate path for the DASP server that I need to include?
Problem Solved - I'm a moron! I was copying the wrong web.config to server. Once I copied correct web.config with proper routing handler & module info all is good. Why is it always the stupid stuff that wastes the most time?