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.
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.
Suresh Gorak...
Member
18 Points
22 Posts
Speech Enabled Web app - Exception
Jan 04, 2012 03:10 PM|LINK
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 ???
enabled
bbcompent1
All-Star
32996 Points
8510 Posts
Moderator
Re: Speech Enabled Web app - Exception
Jan 04, 2012 04:08 PM|LINK
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.
bbcompent1
All-Star
32996 Points
8510 Posts
Moderator
Re: Speech Enabled Web app - Exception
Jan 04, 2012 04:11 PM|LINK
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