I got the error message with Response.Redirect(url);
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack
Use the following statement will fix the error.
Resoponse.Redirect(url,false);
Subscribe to:
Post Comments (Atom)
2 comments:
thanks, works like charm.
For solution on Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack
http://dotnetguts.blogspot.com/2009/01/unable-to-evaluate-expression-because.html
Post a Comment