Hi,
We have a web page that executes some stuff on the server. We noticed that
when it took longer than 60 seconds the page never returned.
We started with a COM component that effectively calls CreateProcess.
We tried many things and eventually boiled the problem down to the simple C#
code below (pasted it into an ASPX file);
<%
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = "c:\\inetpub\\70seconddelay.exe";
p.Start();
p.WaitForExit();
%>
(I'm no c# coder so please forgive any specific c# errors).
70seconddelay.exe is a simple C++ console application that just calls the
Win32 Sleep() API.
An ASPX page with the above code works on a local Win2K and XP Pro IIS, but
it never returns when used on a live 2000 or 2003 server.
A 59 second delay returns but a 60 second delay does not.
Any light you can shed on this pesky problem would be greatly appreciated.
russ.