473,396 Members | 2,154 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,396 software developers and data experts.

ASP.NET stops responding after executing a database query which is time consuming

Hi,

I have a asp.net webpage which has aroud 20 steps as hyperlink.

when start button is clicked, then step1 starts which does some
operation in db and returns some value, based on that value i post the
same page again to execute the next step. This continues untill the
20th step is executed. Now some steps, take lot of time to execute some
queries(9 million row updates) in the database. So asp.net stops
responding and do not continue to next step eventhough the db operation
for that step is completed.

I have tried increasing the executiontimeout property but the problem
still exists.

Has anyone faced this problem? What are the possible solutions?

I use AP.NET1.1 on XP box with IIS5.0

any help appreciated.

Thanks
VKJ

Nov 19 '05 #1
6 2153
I'm not sure if you can guarantee the timeout time on the client side
as the client may override your decisions. Why don't you try using
something like AJAX to keep the page alive while the database is
processing?

Nov 19 '05 #2
we are going to UAT in few days and at this point of time i cannot
recommend new stuff like AJAX (just now read abt it and sounds
interesting). All these days when there was less amt of data it was
working fine till 20 steps now as the data is increasing we are facing
this problem. I was hoping if any of process model attributes or
httpruntime attibutes would solve the problem.

Thanks
VKJ

Nov 19 '05 #3
Does the browser/request timeout or the asp.net workerthread?

Nov 19 '05 #4
i'm not sure as to what is timing out.

But here is the scenario.

1)This application is on local m/c.

2)The same application is on dev server.

3) They both connect to same database.

4) Now i run the steps from my local m/c. After the completion of each
step i post back to the same page and update a column against that step
in UI saying that step completed and proceeds to next step with the
status as processing.

5) Now at the same time i open the same page on dev server. whenever
there is no delay there is no problem.

6) But When a step takes long time, then i can see that by refreshing
the page on devserver, that step is completed and it has stopped and
did not proceed to next step.

7) Then i check the local webpage and it is still saying processing.
after refresh i can see that the step is completed but did not proceed
to next step. It did not do a postback even after the step is
completed.This happens to steps which takes longer time (upto 45 min)
and not for steps which takes less time.

Hope this helps in understanding the problem.

Thanks
VKJ

Nov 19 '05 #5
browser/request timeout -- i checked the IIS log and i do not see a
408 error

so i guess it is asp.net workerprocess timing out.

Nov 19 '05 #6
browser/request timeout -- i checked the IIS log and i do not see a
408 error

so i guess it is asp.net workerprocess timing out.

Nov 19 '05 #7

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

Similar topics

0
by: Lior M | last post by:
Hello everyone I'm having a little problem where my mysql 4.0.21 for some reason stops "responding" until I do a flush-hosts. This is happening almost every day. It's a pretty heavy loaded...
0
by: Michael Bourgon | last post by:
I've been having the same problem for 2 weeks now. If anyone has any ideas, I'd love to hear them. We are using both SQL and Windows Authentication. I was running a Profiler Trace at the time,...
2
by: MatthewRoberts | last post by:
Howdy All, I have a Windows Service that often stops in its tracks with no exception and no explanation on our QA system. During testing on the development machine, it can handle any workload,...
7
by: mjkahn | last post by:
Everything runs fine for a while (weeks even), and then IIS stops responding to (or even logging) requests for ASP pages. HTML pages are served up just fine. I'm running Windows 2000 SP4, and...
0
by: dotnet user | last post by:
I have a asp.net webpage which has aroud 20 steps as hyperlink. when start button is clicked, then step1 starts which does some operation in db and returns some value, based on that value i post...
5
by: Adrian Enders | last post by:
I have something that I have never seen before in a MS development product. I have a pretty simple call to a network directory that looks something like this ... Dim dirFolder As...
0
by: archana | last post by:
Hi all, I am having web service with 2 methods out of which on web method is time consuming. So what i am doing is calling time consuming web request asynchronously and other web method...
9
by: CeyloR | last post by:
Hello everyone, I have a problem with my Ajax page. I'm jusing prototype-1.4.0.js as framework. I have a function to populate three listboxes. The items in the listboxes are from a MYSQL...
8
by: Daz | last post by:
Hi everyone. I was faced with the choice of whether my problem is indeed a PHP problem or a MySQL. I have decided it's a PHP problem as I don't experience the same problem when I execute the...
1
by: jesmi | last post by:
my code is: U]employee.cfm <html> <head> <title>Employee List</title> </head> <body> <h1>Employee List</h1>
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: 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?
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.