Thread was being aborted error message

A

Alex A.

I have this web application that runs for about 5 minutes doing to
database processing, about 50% of the time I get the error message
Thread was being aborted.

I am looking for hint at where to look, I've been banging my head on
this issue for a couple of months (when I have time to bang my head on
this).

Here's some information on my app:

..Net 1.1
I am not using either response.redirect or server.transfer
I'm not threading anything (single synchronous thread)
My ASP.Net UI calles a .Net class for the processing
Tested on 3 different dedicated IIS servers with same results

Works fine if I install it on a desktop (any desktop) running IIS
Works irratically when I install it on a server running either Windows
Server 2000 or Windows Server 2003

What should I be looking at?
 
G

Guest

Alex,
Are you saying that a particular ASP.NET web page kicks off some process
that runs for 5 minutes? The default ASP.NET Script timeout is 90 seconds.
You can change this, and you can also change the httpRuntime executionTimeout
value to a larger number by bringing this element into your web.config to
override the setting in machine.config.
Peter
 
A

Alex A.

Peter,

The script timeout was set to 900 seconds (15 minutes), I had
encountered this issue on another project.

The issue is sporadic, it'll either work or not and when it doesn't it
a thread abort message.

Nothing fancy is being done, it's mainly reading about 300 invoices
from a database converting the data into a format and saving it to a
file on a server.
 
A

Alex A.

The SQL timeout is set to 5 minutes, but reading the actual database
only takes a second or two.

I think I've made sure every possible timeout is set to a high number,
not that I'm aware of every possible place a timeout might occur but I
think I've covered the basic ones that you've mentionned.

Also what I've tried to do is try and pin point where the error is
occuring.
I've set up a big try catch using the ThreadException but it never hits
my
ThreadException, I've put the ThreadException where my call to the
external Class Library is made so if the ThreadException occurs in
there it should catch it but it never does.

I am completly baffled.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top