473,385 Members | 1,720 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,385 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 6577
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Steve | last post by:
Hi All, I keep getting the "System.Web.HttpException: Request timed out." error message when I was uploading image files (about 400 image files) to SQL table, all those image files are FTP to...
2
by: William F. Robertson, Jr. | last post by:
Some of my users are receiving an error: Server Error in '/' Application. ---------------------------------------------------------------------------- ---- Request timed out. Description: An...
0
by: Jack Wright | last post by:
Dear All, I have a web Application "http://localhost/Web/WebForm1.aspx" that calls a WebService from "http://localhost/webserviceapp/service1.asmx"...I have set the executionTimeout to 10 secs in...
5
by: Jack Wright | last post by:
Dear All, I have a web Application "http://localhost/Web/WebForm1.aspx" that calls a WebService from "http://localhost/webserviceapp/service1.asmx"...I have set the executionTimeout to 10 secs in...
1
by: Saumin | last post by:
I have an aspx page, which ususally takes 7-10 mins to execute. So, I set executionTimeout=600 under httpRuntime tag in my web.config. But after 3 minutes, it fails with the error message of...
1
by: yRudi | last post by:
I experimented with the executeionTimeout for my web-application. I tried to enforce the following error: "System.Web.HttpException: Request timed out". I used a function, that takes about 60...
3
by: nms | last post by:
I've an ASP.net web site, Since last some days, Users are experiencing problem when they try to generate reports (for a large date range) it says, Request timed out. Description: An unhandled...
1
by: =?Utf-8?B?S3VtYXIuQS5QLlA=?= | last post by:
We have hosted a web application in a client network and the application is responding very slow. In between we are getting exceptions due to the request time out. We are getting the following...
1
by: WestG | last post by:
I am not able to save, as it is giving the request timed out error in my application: When i click on Save button in my application it gives me request timed out error. Till now the finding is,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.