473,394 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Issues with Server.ScriptTimeout

srt
Hi,
I have some problems with setting Server.ScriptTimeout. The posted script
doesn't
stop after 120 seconds (the timestamps are displayed after the 120 seconds
and I stopped the server after 5 minutes;-)
Is this a bug in asp.net and is there a simple workaround?
I tested this issue with Framework 1.1 (with and without SP1).

Script:
public class Test : System.Web.UI.Page
{
private void Page_Load(object sender, System.EventArgs e)
{
Server.ScriptTimeout = 120;
while(true)
{
Response.Write(DateTime.Now.ToLongTimeString() + "<BR>");
Response.Flush();
Thread.Sleep(1 * 1000);
}
}
.....
Nov 18 '05 #1
0 1591

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Paul | last post by:
Any code that accesses the Server object appears to break, such as: Set conn = Server.CreateObject("ADODB.Connection") OR Response.Write(Server.ScriptTimeout & " seconds") Thanks Paul ***...
5
by: Bryan | last post by:
I'm looking for a definitive answer to a Server.ScriptTimeout question. if I add <% Server.ScriptTimeout = 300 %> to a page, does that then alter the default 90 second script timeout for ALL...
4
by: A.S. | last post by:
I have an app that gets data from SQL Server and writes it to a csv file. My problem is that my query returns 25K + records. IE seems to 'hang' and the csv file never gets created. Any Ideas how I...
3
by: Hermes | last post by:
Hi All, Is there a way to specify the server timeout for IIS in an asp file rather than with IIS. As I would just want one page to have a long timeout period but limit the other pages in the...
0
by: g_sharad | last post by:
Hi I am trying to use the server.scriptimeout for my asp code for sending the mails to my 1000 odd subscribers But after approx 150 records the script gives an error... saying pls reset the...
6
by: Anthony Williams | last post by:
Hi all, Am I right in thinking that if I set Server.ScriptTimeout to, say, 600 that every request for an .ASPX page will wait up to 600 seconds before responding with a "Request Timed Out"...
1
by: Chris | last post by:
I've created an aspx page that should time out every time it is executed, yet it never does. It seems as though the value of Server.ScriptTimeout is just being ignored by asp.net - I've also set...
20
by: =?Utf-8?B?SnVzdGluIERvaA==?= | last post by:
"Active Server Pages error 'ASP 0113' Script timed out" I am still getting this error, and I am not sure how I could fix this. When I execute the query at SQL 2005, it only takes 8 seconds....
3
by: =?Utf-8?B?SnVzdGluIERvaA==?= | last post by:
I am constantly getting the 'Script timed out' error, and would like to see if there is any way I could modify the ASP page. I think I did all I could to improved the performance at the database...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.