if (_inputValues.Count > 0)
{
DABusiness.MemberFltUserInfo.Save_UserInfo(_inputValues);
Response.Redirect("~/SelectPassengerInfo.aspx");
}
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
<-- this error is usually only caused if your response.redirect is in a file that is in a frame. Seems response.redirect doesn't work with frames
resolvent:
response.redirect("nextpage.aspx",false);
worked for me.
reference:
http://support.microsoft.com/kb/312629/EN-US/
I have just run into this error, using a Response.Redirect().
I have got past the error, by running a Response.Clear() before the Redirect, perhaps you can do something similar with the Server.Transfer, or use the Response.Clear(), Redirect combination.