Thread Aborted Error - Not on a Redirect

  • Thread starter Thread starter Craig Johnson
  • Start date Start date
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
 
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
 
Back
Top