title: System.Threading.ThreadAbortException
body: <p>I am working on asp.net with mysql. Getting some exceptions while accessing db (only in production)</p>
  
  <p>StackStrace-1: </p>
  
  <pre><code>at System.Threading.Thread.AbortInternal()
     at System.Threading.Thread.Abort(Object stateInfo)
     at System.Web.HttpResponse.AbortCurrentThread()
     at Web_Report_ACKReport.ExportDataTableToCSV(DataTable dataTable)
  </code></pre>
  
  <p>StackStrace-2: </p>
  
  <pre><code>at MySql.Data.MySqlClient.NativeDriver.Ping()
     at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
     at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
     at MySql.Data.MySqlClient.MySqlPool.GetConnection()
     at MySql.Data.MySqlClient.MySqlConnection.Open()
     at project.Data.ObjDIO.getDbConn(String connectionString)
     at project.Data.AdoCompat.ConnectionObjects.OpenConnection()
     at myProject.projName.DAL.DAL.Insert(String strFileName, Int32 totalRecords, Int32 insertedCount, Int32 queueId, Int32 reviewType, String strCreatedUser)
     at BusinessLayer.Queue.QueueSupport.Create(String strFileName, Int32 totalRecords, Int32 insertedCount, Int32 queueId, Int32 reviewType, String strCreatedUser)
  </code></pre>
  
  <p>DB Connection string: <code>&lt;add name="dbconnection" connectionString="server=dbserver; initial catalog=sampledv;user id=dbuser;password=dbpassword;pooling=true;" providerName="system.data.mysqlclient"/&gt;</code></p>
  
  <p>Help me to fix this issue. thanks in advance.</p>