Thread Aborted Error - Not on a Redirect

C

Craig Johnson

We have a C# web service and website which calls SPs (via the ADO.NET
SqlCommand) to read data from a SQL Sever 2000 database. We get
the following exception intermittently "Thread was being aborted".

I read a posting that said this as well, and the fix was to increase
the executionTimeout setting in the machine.config. However in my case
that doesn't help. We are using Thread Local Storage to stash the
connection object to pass between layers without having to pass the
connection as a parm. Should a connection object work under this
scenario?

Thank you,
Craig
 
C

Craig Johnson

Nope, no thread aborts and actually I don't have any threading code
besides the usage of the Thread Local Storage dataslot. I am not
spawning threads only acting within the ones that aspnet creates. Have
any ideas?

Thanks,
Craig
 

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

Top