Apr 06, 2017 04:03 AM|kaushalparik27|LINK
However the redirect keeps looking for the aspx page I am redirecting to in a different folder named "CommonPages"
Since you are explicitly redirecting to MainPages, it is hard to understand how code can redirect to CommonPages. I suggest you look at the router logic, your existing code that may causing this issue. Response.Redirect(Request.RawUrl); is the perfect way
to redirect to itself.