System.Threading.ThreadAbortException: Thread was being abor

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Posts: 62
Joined: Wed 03 Jan 2007 22:23

System.Threading.ThreadAbortException: Thread was being abor

Post by sumit » Fri 08 May 2009 22:00

We are getting the following exception when trying to delete records from a table. The query takes like a minute and then we see the following exception. We are using Mysql .net v 3.55.17 drivers.

System.Threading.ThreadAbortException: Thread was being aborted.
at CoreLab.MySql.a9.b(Byte[] A_0, Int32 A_1, Int32 A_2)
at CoreLab.MySql.a0.a(Byte[] A_0, Int32 A_1, Int32 A_2)
at CoreLab.MySql.a0.a()
at CoreLab.MySql.a0.c()
at CoreLab.MySql.b.a(e[]& A_0, Int32& A_1)
at CoreLab.MySql.b.a(Byte[] A_0, Int32 A_1, Boolean A_2)
at CoreLab.MySql.v.d()
at CoreLab.MySql.MySqlCommand.a(CommandBehavior A_0, IDisposable A_1, Int32 A_2, Int32 A_3)
at CoreLab.Common.DbCommandBase.b(CommandBehavior A_0)
at System.Data.Common.DbCommand.ExecuteReader()
at CoreLab.Common.DbCommandBase.ExecuteNonQuery()

Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 14 May 2009 15:49

Please increase the value of the MySqlCommand.CommandTimeout property. Does it resolve the problem?

Post Reply