url routing access denied

Posted by user1600319 on Stack Overflow See other posts from Stack Overflow or by user1600319
Published on 2012-09-22T09:35:33Z Indexed on 2012/09/22 9:37 UTC
Read the original article Hit count: 213

Filed under:

I put the code

RouteTable.Routes.MapPageRoute("md", "page1.html/{zxc}", "~/withmaster/page2.aspx");

at golbal Application_Start event .At masterpage link_event

Response.Redirect(Page.GetRouteUrl("md", new { zxc = "data" }));

Everything ok at local and iis7. The problem is that when i run this on the hosting

The access to requested URL has been denied. 

Do i need some more thing to use url routing ...

© Stack Overflow or respective owner

Related posts about url-routing