Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

in my application page when i m using Sputility.transffertosuccesspage ,its throw an exception, " Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack. " The same exception was also occur if we use response.redirect(abc.aspx); but we can resolve this exception with (abc.aspx,false) but how to solve Sputility.transffertosuccesspage exception.

Thanks SAAD

share|improve this question
    
i move SPUtility.TransferToSuccessPage outside the try block and it works fine –  sbtahir Apr 5 '10 at 11:01
add comment

1 Answer

If I recall correctly, I believe these methods throw a ThreadAbortException. I'd move them out of your try\catch block.

share|improve this answer
    
yes you are Right John –  sbtahir Apr 21 '10 at 6:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.