I am trying a URL redirection by wrting a code in Application_BeginRequest in global.asax and using a rule.xml file Below is the scnerio #1 user enters a path http://sitename/project/Article06/issue6 This particlar folder "Article06/issue6"is not on the vistual direcory or on website. In Application_BeginRequest i read this path and if the path is equal to Article06/issue6 i redirect him to some other page. The code works fine when it is executed from visual studio. But when i deploy this in IIS it does'nt even go to Application_BeginRequest method of global.asax it gives me 404 error Any idea why it is not working on IIS and how can I solve it