Decrease Font Size
Increase Font Size
   BLOG

Asynchronous operations are not allowed in this context

Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.

solution: Set Async="True"

<%@ Page Language="VB" Async="true" AutoEventWireup="false" CodeFile="TestHotmail.aspx.vb" Inherits="TestHotmail" %>

Comments (7) -

  • anonymous proxy

    11/24/2009 10:53:37 PM |

    Great insights. I loved to read your article. You must be putting a lot of time into your blog!

  • Bikes

    11/25/2009 6:25:16 PM |

    Nice post.

  • article directory

    11/29/2009 10:04:21 AM |

    Great Blog, great choice of engine.

  • monitor stands

    12/15/2009 9:20:26 AM |

    Are there mechanisms preventing a rogue programmer modifying safety-critical software ? Was Collins?

  • robert rodriguez dress

    12/28/2009 8:33:39 AM |

    Interesting information. I will add this blog to my link exchange site.

  • autism resources

    2/13/2010 10:27:56 PM |

    I’ve never been so excited reading a blog as it touches me personally.  

  • tanning salons

    3/8/2010 7:06:27 AM |

    This posting is marvelous and what a fantastic research that you have done. It has helped me a lot. thank you very much. Come visit my buy tanning salons site.

Add comment

Loading