In your guest section replace: // Redirect the user to the originally requested page Response.Redirect(FormsAuthentication.GetRedirectUrl(UserName.Text, false));..