Note that there are some explanatory texts on larger screens.

plurals
  1. POPosting xml with ServerXMLHTTP timeout
    primarykey
    data
    text
    <p>I'm working on two websites. One is an existing classic asp site which posts xml to a new asp.net (.net 3.5) website. The classic asp site is using msxml's serverxmlhttp object in vbscript to send this xml over. The whole thing works until I make a seemingly unrelated change to the asp.net site.</p> <p>When I add a few lines of code that uses System.Speech.Synthesis to generate a wav file from text the classic asp websites serverxmlhttp.send command times out. As far as I can tell the asp.net page is working fine, it makes it through the few new lines of code without an issue (the wav file is generated). The few lines of speech code causing the issue is done well before the timeout. </p> <p>It seems like the asp.net page was actually sending some sort of acknowledgement back to the classic page which is no longer getting sent. I should also point out that the speech code was throwing an exception saying it needed to be asynchronous which I fixed by adding Async="true" to the . However, it works when async="true", it's just those speech lines that break it. The "problem code" is just</p> <pre><code>SpeechSynthesizer speaker = new SpeechSynthesizer(); speaker.Volume = 100; speaker.SelectVoiceByHints(System.Speech.Synthesis.VoiceGender.Female, System.Speech.Synthesis.VoiceAge.Adult, 0); try { speaker.SetOutputToWaveFile("c:\\test\\output.wav"); } catch (Exception ex) { retVal = false; } speaker.Speak(msgText); speaker.SetOutputToDefaultAudioDevice(); </code></pre> <p>Does anyone have any suggestions on what could be wrong or what I could use to help debug this? </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload