I have a very simple Webmethod (asmx) that creates a file. For some reason, it times out. When I step through the code, the code that creates the file takes < 1 second, but when I get to the last line of the method, it times out.
Any reason why this might be happening? I use System.Speech in the webmethod.
[WebMethod]
public void SynthesizeTextTest()
{
using (SpeechSynthesizer syn = new SpeechSynthesizer())
{
syn.SetOutputToWaveFile(@"t.wav");
syn.Speak("testing");
}
}