Sharepoint 2007 error : deadlocked on lock resources with another process and has been chosen as the deadlock victim.
We migrated data from one environment to other using import and export option. After importing we are getting deadlocked on lock resources with another process error. This error comes while adding entries in Calendar list. 2 or 3 entries get added successfully but for next entry we get this error. Can anybody please suggest about this? The error is specific to only one calendar list. We again migrated same data to some other environment and there it is working fine. Below is complete stacktrace Transaction (Process ID 61) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. at System.Data.SqlClient.SqlConnection.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.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean& bSucceed) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback(String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pSchemaCallback) at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() at Microsoft.SharePoint.SPListItemCollection.get_Count()
November 24th, 2010 12:34am

The deadlock is a job in SQL Server, can you access SQL and review the jobs, filter the logs to find the keyword deadlock and then look for the PID. That's the process that's help and locked. Kill that process and try to do your work again. Just wondering, how many items are in that calendar list? 20,000 is the norm for deadlocks.Kris Wagner, MVP, MCITP, MCTS Twitter @sharepointkris Blog: http://www.sharepointkris.com/blog
Free Windows Admin Tool Kit Click here and download it now
November 24th, 2010 2:31am

Here's another technet thread to look at as well, just incase your service packs are not up to date. http://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/c0a779da-aeeb-42a3-8bfc-6ea3a5ca8d1cKris Wagner, MVP, MCITP, MCTS Twitter @sharepointkris Blog: http://www.sharepointkris.com/blog
November 24th, 2010 2:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics