locked
Speech Enabled Web app - Exception RRS feed

  • Question

  • User1760460134 posted

    Hi,

    I'm trying to create a web application which has voice recognition capability. When I try to call a method which sets the default audio device in page load event,below exception im getting:

    "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".

    I have set Async property to true & called the method in Page Pre render event. Now Im getting a new problem that the page is not completing its life cycle i.e. Page_render event is not rising .. the page is continuously loading. 

    Is there any way to handle this ???

    Wednesday, January 4, 2012 11:10 AM

Answers

  • User-718146471 posted

    There is only two ways you can get this type of function to work.

    #1: Use Java with JAWS

    #2: Utilize some flash application that listens to the client web browser

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 4, 2012 12:11 PM

All replies

  • User-718146471 posted

    I can tell you from personal experience that the only way speech will work is if your application is client-side. I tried working on this very issue for weeks and never got it to work on the server.

    Wednesday, January 4, 2012 12:08 PM
  • User-718146471 posted

    There is only two ways you can get this type of function to work.

    #1: Use Java with JAWS

    #2: Utilize some flash application that listens to the client web browser

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 4, 2012 12:11 PM