Time out of page response

S

Samuel

Hi

I use ASP.NET 2.0 / IIS 6 and I would like to know whether there is any way
to allow longer time for the page to finish the download as when the server
is busy the users do not to seem receive the entire content of the page.

Thank you,
Samuel
 
W

Wazoo

Hi

I use ASP.NET 2.0 / IIS 6 and I would like to know whether there is any way
to allow longer time for the page to finish the download as when the server
is busy the users do not to seem receive the entire content of the page.

Thank you,
Samuel

I just finished hacking my way through this issue.

AFAIK, there are four places to adjust timeout values for ASP/SQL
webapps.

There’s the Connect Timeout property in the connection string:
OleDbConnection oCxCognos = new OleDbConnection(
"Data Source=ISGMCOGNOS;" +
"Initial Catalog=Analyzer_llp;Provider=SQLOLEDB.1;" +
"User ID=webuser;Password=xxxxxxx;Connect
Timeout=360");
This sets the timeout waiting for SQL connection.

There’s the timeout on the actual command object in the page’s code-
behind.
daAnalyzer.SelectCommand.CommandTimeout = 360;
This sets the timeout waiting for SQL to send results.

There’s the application timeout in web.config.
<system.web>
<httpRuntime executionTimeout="360"/>

And finally, if you’re using any AJAX stuff, there’s the
AsyncPostBackTimeout property on the ScriptManager (e.g. for the
UpdateProgress control). Ironically, the progress bar control will
timeout and end page execution after 90 seconds by default.
 
G

Gregory A. Beamer

Hi

I use ASP.NET 2.0 / IIS 6 and I would like to know whether there is
any way to allow longer time for the page to finish the download as
when the server is busy the users do not to seem receive the entire
content of the page.

Thank you,
Samuel

I would examine the page and find out what the problem is, as this is a
very abnormal condition. Are you trying to output a huge amount of data
on a single page?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,142
Messages
2,570,819
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top