Server.Transferを()を実行している間、なぜ私は例外を取得していますが...のasp.net Server.Transferを()例外
Server.Transfer(@"~/Student/StudentSendMail.aspx?username=" + username);
{Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.}
にServer.Transferをを移動します)
3を無視しています。しかし、try catchブロックを削除することが解決策になることがあります。それを確認してください。 –
これは、ページ上のAjaxフレームワークからコントロールを追加するときに起こります。 –