For Programmers: Free Programming Magazines  


Home > Archive > C# > March 2004 > Thread Aborted Error









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Thread Aborted Error
Craig Johnson

2004-03-28, 11:32 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com