Click here to Skip to main content
15,885,216 members

Comments by RobNO (Top 60 by date)

RobNO 30-Apr-13 16:09pm View    
Yea, a balance for sure. Thanks for all your help. I really appreciated it!
RobNO 30-Apr-13 16:06pm View    
Thanks for all your help! I think your right that there is a conflict with the Web API Framework and System.Speech.

Just speculating but I think the problem is SpeechSynthesizer implicitly kicks off threads (which according to msdn is dose not). The action method returns while the other thread is still continues to run. Sort of matches up with the error message: An asynchronous module or handler completed while an asynchronous operation was still pending.
RobNO 30-Apr-13 15:31pm View    
Yeah, and it is fine in my circumstance if it takes a second to write to a file and then give the response back.

However, Not to get carried away from the original question but I thought I read running new threads on a web server isn't good practice either because if there are many threads running then resources get tied up similarly to what I am currently doing.
RobNO 30-Apr-13 15:11pm View    
I already debugged this method and it successfully runs through everything, without exceptions or prolonged blocks.

Why should the using block run on a separate thread?
RobNO 30-Apr-13 14:58pm View    
Tried that and it didnt help. However I did comment all of the using statment and I did successfully receive the static array. My browser finally returned an error message: An asynchronous module or handler completed while an asynchronous operation was still pending.