I am using VS 2010 and .Net 4.0 and when I use the Response.Redirect in code it throws an exception and craps out. Here is the text of the exception:
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
I've seen a few others complaining about Response.Redirect not working in 2010 either but no solutions.
I'm simply trying to navigate to my main page after confirming the users login/password credentials. Thank you for any and all help.