It is the Sql query that dragging the slowness.
when you hit cancel, I believe the same 'cancel'
was issued to SQL as well. so SQL might try to
terminal the long running query.. say roll back or
cancelling the actual request.
all this take 'time' depend on your query, your
machine spec, db size and etc. while this is
running, web server just wait - you should
try to look at the cpu utilization, track down
which process is using the most cpu and ram.
all new request will be queue up in asp queue.
you can try stop and start the sql, it should release
back the web server to you.
--
Regards,
Bernard Cheah
<a style='text-decoration: underline;' href="http://support.microsoft.com/" target="_blank">http://support.microsoft.com/</a>
Please respond to newsgroups only ...
"Alden Streeter" <astreeter_no_spam_ DeleteThis @srca.net> wrote in message
news:eqb3vsejDHA.2244@TK2MSFTNGP12.phx.gbl...
> I'm running IIS 5.1 on my Windows XP Pro development machine. The ASP
page
> I am working on locally uses VBScript with ADO to get a bunch of data via
> SQL queries from a SQL Server 2000 server that is on a remote web host.
The
> web host sometimes is very slow, so then the queries take a really long
time
> and sometimes get time out errors. If the page does display, it can take
up
> to 2 minutes.
>
> Now if I get tired of waiting for the page to load and hit the cancel
button
> in my browser, my IIS server effectively hangs for what seems to be close
to
> the remaining time that the SQL query would have taken to run if I had let
> it finish. Even if I just type in "localhost" it takes a couple of
minutes
> for anything to appear in my browser. And if I start the page and cancel
it
> a bunch of times successively, it seems like the wait times add up, so if
I
> do that 5 times in a row, I have to wait 10 minutes before localhost
returns
> anything.
>
> Stopping and restarting IIS service from the IIS MMC during the wait
doesn't
> seem to help either. The only thing I have found that does help if I
don't
> want to wait is to reboot the whole computer.
>
> Is this really a problem with my IIS? Am I missing something?
>
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: IIS hanging after cancelling page with long SQL query