Unable to evaluate expression because the code is optimized or a native frame is on top of call stack
<p>I am working on a website where user comes and submits some information. After the information is submitted I am trying to send two mails simultaneously - one to my sales team and one to the visitor on my website.</p>

<p>While the mails are getting sent I am getting the following error while redirecting to another page using <code>Response.Redirect("http://www.targetsite.com/index.php")</code>:</p>

<blockquote>
  <p>Unable to evaluate expression because the code is optimized or a
  native frame is on top of call stack</p>
</blockquote>

<p>Can anybody help me with this issue? Thanks in advance.</p>
