0
I made that if
and is giving redirect loop. I removed the parameter false
and continues. The page exists and etc...
if (Session["DsTipoUsuario"].ToString() == "1")
{
Response.Redirect("/frmGESStatusPriorizar.aspx", false);
}
I used to give this error and it was the missing parameter false
. Now stick with him, but only on this call.
Which error returns?
– Jothaz
Redirect loop, this is the error
– pnet
Testing
Response.End();
after theResponse.Redirect
!– Jothaz
You are giving this error by giving a Response.End(): Unable to evaluate Expression because the code is Optimized or a Native frame is on top of the call stack.
– pnet
Theoretically the
Response.Redirect("pagina.aspx", false);
would already end the test executionServer.Transfer
orServer.Execute
. Has atry catch
in the method?– Jothaz
What’s on the page?
– Laerte
Try.. catch does, because everything I do I put in a Ry. .catch. The page loads a list of processes and the Manager only prioritizes processes to a particular analyst. Nothing special. I will put a break in it and put what is happening and resolve also put the answer.
– pnet