Hi Mark,
We have a utility page that some users are having trouble with. The page
sets Server.ScriptTimeout = 600; // 10 minutes
yet it reports a timeout error after the default 90 seconds.
First, could you provide the exception description? There're lots of
timeout errors that is not caused by the limit of executionTimeout.
The page is a POST and takes a bit over a meg of input in viewstate and form
parameters.
Is it a simple postback? Do you access database during that postback?
I did a test but cannot reproduce this issue. Could you try following steps
to see if you still get request timeout after 90 seconds? It'd be a good
start for me to investigate this issue if I could find a way to reproduce
it.
1. Create a new ASP.NET Web Application in Visual Studio 2008 SP1.
2. Add following section in web.config:
<httpRuntime executionTimeout="600" />
3. Make sure the debug attribute is set to false:
<compilation debug="false">
4. Add following code in Page_Load:
protected void Page_Load(object sender, EventArgs e)
{
while(true)
Thread.Sleep(1000);
}
5. Right click Default.aspx in the solution explorer window, click "View in
Browser" to open the page in IE (tested in IE 7).
My environment is Windows Server 2008 Enterprise SP2 + IIS 7.
If the above steps works please tell me how to reproduce the problem. If
not, please provide your environment (OS and IIS version). I'll set up the
same environment to see if I could repro it.
Regards,
Allen Chen
Microsoft Online Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.