system.threading.thread error occured
Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Javeed M ShaikhPosted Oct 14, 2011, 9:50 AM
Is it a windows or a web based application, if it is a web based application than are you trying to do a response.redirect or response.end in the catch block? try to move that in the finally block.
Please do not forget to mark "Accepted Answer".