Click here to Skip to main content
15,885,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Sir,
url routing is not working in iis 7.5 while it is working fine in local machine and in iis 6.0

below is the setting in my web.config



<system.webServer>
		<security>
			<requestFiltering allowDoubleEscaping="true">
			</requestFiltering>
		</security>
		<modules runAllManagedModulesForAllRequests="true">

			<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule,                     System.Web.Routing, Version=4.0.0.0,                     Culture=neutral,                     PublicKeyToken=31BF3856AD364E35" />
			

		</modules>
		<handlers>
            <add name="isapi 4.0" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="integratedMode,runtimeVersionv4.0,bitness32" />
			<add name="ASP.NET-ISAPI-2.0-Wildcard" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="integratedMode,runtimeVersionv2.0,bitness32" />
			<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler,                    System.Web, Version=4.0.0.0, Culture=neutral,                    PublicKeyToken=b03f5f7f11d50a3a" />
		</handlers>
	</system.webServer>



Please provide chnges in webconfig or iis to overcome.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900