471,354 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Error: Request timed out.

Hi,
My ASP.NET application calls a web service (in the same project) that
queries a SQL server by using a data adapter to fill a dataset. The
dataadapter may fill more than one dataset to build the resulting dataset.
This can take several minutes (I think up to approximately 10 minutes) before
a result set is ready. The result set is displayed in a datagrid. It works ok
in VS.NET but when the project is deployed, the time consuming queries
generate the following error "Request timed out"
I have set the httpRuntime executionTimeout="900" in the web.config but it
does not make any change.
Does anyone know how to solve this problem? Thanks in advance for any replies.

Dorte

Nov 19 '05 #1
1 6499
Hi Dorte,

In your page load you can put:

Server.ScriptTimeout = 3000

This will cause the page not to time out for 50 minutes. The ScriptTimeout
property is the amount of time in seconds before your page times out. Good
luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Dorte" <Do***@discussions.microsoft.com> wrote in message
news:AE**********************************@microsof t.com...
Hi,
My ASP.NET application calls a web service (in the same project) that
queries a SQL server by using a data adapter to fill a dataset. The
dataadapter may fill more than one dataset to build the resulting dataset.
This can take several minutes (I think up to approximately 10 minutes) before a result set is ready. The result set is displayed in a datagrid. It works ok in VS.NET but when the project is deployed, the time consuming queries
generate the following error "Request timed out"
I have set the httpRuntime executionTimeout="900" in the web.config but it
does not make any change.
Does anyone know how to solve this problem? Thanks in advance for any replies.
Dorte

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by William F. Robertson, Jr. | last post: by
1 post views Thread by Saumin | last post: by
1 post views Thread by yRudi | last post: by
3 posts views Thread by nms | last post: by
1 post views Thread by =?Utf-8?B?S3VtYXIuQS5QLlA=?= | last post: by
1 post views Thread by WestG | last post: by

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.