473,320 Members | 1,810 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,320 software developers and data experts.

Explorer waiting indefinitely for IIS response

Strange and curious problem I'm experiencing.

I implemeted a web site asp solution IIS 5.0.
The site performe long calculations.
What's happening is the following:
if I connect through a ADSL connection I don't have problems, the browser
(IE 6.0) wait also for 20/30 minutes and then receive correctly the response
from the IIS server. If I connect through a dial-up connection, if the
calculations duration is more that 10/15 minutes, than the browser wait
undefinitely, without any signal, and doesn't receive the response from the
server, although the calculations ended correcly. The browser didn't freeze
or crash, simply wait forever!
I've tried everything:

I checked the "current connections" counter of performance monitor on the
server host running IIS.
But it seems that the connection isn't lost.
I checked with a sniffer TCP/IP packets, and I noticed nothing strange,
apart that the response was not being sent/received.

Anyone experiencing a similar problem?
Any suggestion, or idea to solve the problem?

Thank's a lot for your help.

Andrea Tirabosco

May 10 '06 #1
4 3583
PullWood wrote:
Strange and curious problem I'm experiencing.

I implemeted a web site asp solution IIS 5.0.
The site performe long calculations.
What's happening is the following:
if I connect through a ADSL connection I don't have problems, the
browser (IE 6.0) wait also for 20/30 minutes and then receive
correctly the response from the IIS server. If I connect through a
dial-up connection, if the calculations duration is more that 10/15
minutes, than the browser wait undefinitely, without any signal, and
doesn't receive the response from the server, although the
calculations ended correcly. The browser didn't freeze or crash,
simply wait forever!
I've tried everything:


For such a long-running calculation, I would not even try fixing this
symptom. Instead, I would do the calculation asynchronously. This is not the
type of operation that is suited for web-based applications. I would create
a page that kicked off the calculation process (perhaps via a COM object)
and then informed the user to come back later on to see the result, or use
an email notification when the result was ready. The asynchronous process
would perform the calculation and store the result somewhere along with some
sort of identification to allow the user to retrieve the result when he
returned.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
May 10 '06 #2

"PullWood" <a.*********@ud.nettuno.it> wrote in message
news:en**************@TK2MSFTNGP02.phx.gbl...
Strange and curious problem I'm experiencing.

I implemeted a web site asp solution IIS 5.0.
The site performe long calculations.
What's happening is the following:
if I connect through a ADSL connection I don't have problems, the browser
(IE 6.0) wait also for 20/30 minutes and then receive correctly the response from the IIS server. If I connect through a dial-up connection, if the
calculations duration is more that 10/15 minutes, than the browser wait
undefinitely, without any signal, and doesn't receive the response from the server, although the calculations ended correcly. The browser didn't freeze or crash, simply wait forever!
I've tried everything:

I checked the "current connections" counter of performance monitor on the
server host running IIS.
But it seems that the connection isn't lost.
I checked with a sniffer TCP/IP packets, and I noticed nothing strange,
apart that the response was not being sent/received.

Anyone experiencing a similar problem?
Any suggestion, or idea to solve the problem?

Thank's a lot for your help.

Andrea Tirabosco


Are you sure that the dialup isn't disconnecting during that time?
Still the answer to that question is immaterial, I agree with Bob leaving
browser in an apparently hung state for this amount of time is not a good
design. In fact expecting a ASP request to process for that amount of time
isn't some way from ideal also.

If you are not yet familar with the use of the XMLHTTPRequest or the
Microsoft.XMLHTTP object then it's worth researching.

On possible model would be this:-

Client builds parameters needed for calculation into XML then posts the XML
to an upload ASP page.

The upload page on the server allocates a unique ID for the job, delivers
the XML to a known input folder using the ID as a filename and responds to
the client with ID.

Server has a scheduled task to run some VBS which polls the input folder
looking for XML files. On finding one it loads the XML, extracts the
calculation parameters and proceeds with the calculation. On completion it
can write the results to an known output folder using the same ID filename
as the input.

Meanwhile the client polls the output folder for a filename using the
allocated ID. When it exists the client can navigate to an ASP page putting
the ID in the querystring. This ASP page can retrieve and remove the file
from the output folder and use it's contents to render the results page.
Anthony.


May 10 '06 #3
You could even close the browser. The server has no way to know the browser
was closed and will continue computing the results (I believe you could use
IsClientConnected to test for this). You perhaps also hit some limits (you
have likely changed the ScriptTimeOut but my guess would be that there is
also a timeout client side that perhaps depend on the thorughtput ?).

(and yes like other posters I would do this asynchronously anyway...)

--
Patrice

"PullWood" <a.*********@ud.nettuno.it> a écrit dans le message de news:
en**************@TK2MSFTNGP02.phx.gbl...
Strange and curious problem I'm experiencing.

I implemeted a web site asp solution IIS 5.0.
The site performe long calculations.
What's happening is the following:
if I connect through a ADSL connection I don't have problems, the browser
(IE 6.0) wait also for 20/30 minutes and then receive correctly the
response
from the IIS server. If I connect through a dial-up connection, if the
calculations duration is more that 10/15 minutes, than the browser wait
undefinitely, without any signal, and doesn't receive the response from
the
server, although the calculations ended correcly. The browser didn't
freeze
or crash, simply wait forever!
I've tried everything:

I checked the "current connections" counter of performance monitor on the
server host running IIS.
But it seems that the connection isn't lost.
I checked with a sniffer TCP/IP packets, and I noticed nothing strange,
apart that the response was not being sent/received.

Anyone experiencing a similar problem?
Any suggestion, or idea to solve the problem?

Thank's a lot for your help.

Andrea Tirabosco

May 10 '06 #4
Thank a lot for your answer.
This confirm what I was thinking about as the only solution to avoit it.

Regards,

Andrea Tirabosco
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:ec**************@TK2MSFTNGP03.phx.gbl...
PullWood wrote:
Strange and curious problem I'm experiencing.

I implemeted a web site asp solution IIS 5.0.
The site performe long calculations.
What's happening is the following:
if I connect through a ADSL connection I don't have problems, the
browser (IE 6.0) wait also for 20/30 minutes and then receive
correctly the response from the IIS server. If I connect through a
dial-up connection, if the calculations duration is more that 10/15
minutes, than the browser wait undefinitely, without any signal, and
doesn't receive the response from the server, although the
calculations ended correcly. The browser didn't freeze or crash,
simply wait forever!
I've tried everything:

For such a long-running calculation, I would not even try fixing this
symptom. Instead, I would do the calculation asynchronously. This is not

the type of operation that is suited for web-based applications. I would create a page that kicked off the calculation process (perhaps via a COM object)
and then informed the user to come back later on to see the result, or use
an email notification when the result was ready. The asynchronous process
would perform the calculation and store the result somewhere along with some sort of identification to allow the user to retrieve the result when he
returned.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

May 10 '06 #5

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

Similar topics

3
by: Keith | last post by:
I am writing a web service that sends work to a system that gets it's work via XML files. This system looks for files in a particular directory, processes the file, then leaves a response file in...
10
by: James_101 | last post by:
My training piece is in Authorware. The user logs in with last name and a four-digit number. Authorware sends this user identifier to an asp page called db_read.asp. This file sends a SQL SELECT...
6
by: tinkerman | last post by:
Hello net friends, I need to automate Internet Explorer in a very simple way. I need to: 1. press refresh (F5) on the currently loaded website. 2. press END button. 3. Click a button...
3
by: Elhurzen | last post by:
X-No-Archive: Yes >From what I understand, if multiple threads are waiting on a ManualResetEvent after calling WaitOne(), only one thread is guaranteed to be signaled when Set() is called on that...
3
by: norm4h8 | last post by:
Hi! I have a question about how to create a process in such a way that it would terminate itself if its wated for input for too long. Here is the story. I have 2 different files, say R.c and...
4
by: Jono | last post by:
Hi Everyone, As it says in the title, I'm looking for a way to display a page while long running operations are performed on the server. Ideally, I'd like some way to push the current request...
0
by: Christian W Larsen | last post by:
I want to export a datagrid to Excel. Here is the code: Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition", "attachment;filename=FileName.xls");...
1
by: Christian W Larsen | last post by:
I want to export a datagrid to Excel. Here is the code: Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition",
2
by: cwlarsen | last post by:
I want to export a datagrid to Excel. Here is the code: Response.Clear(); Response.Buffer = true; Response.AddHeader("content-disposition",
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.