Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
ksams
Starting Member
1 Post |
Posted - 2008-11-12 : 13:46:57
|
| In my .Net web application, I am getting the following exception , not all the time. , sometimes. Please find below the details of this exception. Please help me tom understand this issue. ThanksType : System.Data.SqlClient.SqlException, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089Message : Transaction (Process ID 246) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.Source : .Net SqlClient Data ProviderHelp link : Errors : System.Data.SqlClient.SqlErrorCollectionClass : 13LineNumber : 65Number : 1205Procedure : spAddUpdateOrderServer : DENSQLPC123\SQL001State : 0ErrorCode : -2146232060Data : System.Collections.ListDictionaryInternalTargetSite : Void OnError(System.Data.SqlClient.SqlException, Boolean)Stack Trace : at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) 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.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()-Siva |
|
|
TG
Master Smack Fu Yak Hacker
6065 Posts |
|
|
karthickbabu
Posting Yak Master
151 Posts |
Posted - 2008-11-13 : 00:24:47
|
| Here is an detail document about Trouble Shooting DeadLockswww.dowers.net/ftp/troubleshooting/SQL-TroubleshootingLocksdeadlocks.doc================================================When you realize you've made a mistake, take immediate steps to correct it. |
 |
|
|
|
|
|
|
|