ThreadAbortException when trying to fill a dataset
- From: John Sheppard <JohnSheppard@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Dec 2006 09:41:01 -0800
Hi all,
Hoping someone can shed some light. I am trying to track down an issue that
I see on an off in our logs. I get a System.Threading.ThreadAbortException
that occurs down in the SNINativeMethodWrapper.SNIPacketGetConnection method
(Stack trace at the bottom of post. Could this be a timeout error being
thrown back by SQL? Or could a heavy server load cause the wrapper being
unable to GetConnection to the server? The latter is my WAG of what might be
going on but I would like confirmation.
Thanks,
John
<StackTrace> at SNINativeMethodWrapper.SNIPacketGetConnection(IntPtr
packet)
at System.Data.SqlClient.TdsParserStateObject.ProcessSniPacket(IntPtr
packet, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult
asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32
bytesExpected)
at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
at System.Data.SqlClient.TdsParserStateObject.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior,
SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet
bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,
RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method,
DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior
behavior)
at
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset,
DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable,
IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at
Microsoft.Practices.EnterpriseLibrary.Data.Database.DoLoadDataSet(DbCommand
command, DataSet dataSet, String[] tableNames)
at
Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(DbCommand
command, DataSet dataSet, String[] tableNames)
at
Microsoft.Practices.EnterpriseLibrary.Data.Database.LoadDataSet(DbCommand
command, DataSet dataSet, String tableName)
at
Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteDataSet(DbCommand
command)
at
XXXXX.XXX.LPT.DataAccess.Profile.SearchProfileCriteria(ProfileSearchCriteria
profileSearchCriteria)
at
XXXXX.XXX.LPT.BusinessComponents.Profile.SearchProfileCriteria(ProfileSearchCriteria profileSearchCriteria)
at
XXXXX.XXX.LPT.BusinessFacade.ProfileManager.SearchProfileCriteria(ProfileSearchCriteria profileSearchCriteria)</StackTrace>
</InnerException>
.
- Prev by Date: Tempdb ! Urgent Help please !
- Next by Date: Re: Tempdb ! Urgent Help please !
- Previous by thread: Tempdb ! Urgent Help please !
- Next by thread: Re: Database error code: 515
- Index(es):
Relevant Pages
|