473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Transaction (Process ID 474 ) Deadlock

I have encountered an error stating
" Transaction (Process ID 474) was deadlocked on lock resources and has been chosen as the victim. Rerun the transaction."

Why this error occured? What is the way to solve this error?
Jun 13 '07 #1
2 1681
Purple
404 Expert 256MB
Hi balasach82 and welcome to TSDN,

based on the info so far, I guess you are trying to lock a resource in the database (could be a cell, row, table or database) which has already been locked by another process..

this means simply you are prob trying to acesss record(s) in a table where another process is also running updates, deletes or bulk inserts.

if you run a trace using SQL query profiler you should get a clue to what is happening..

Hope this helps

Purple
Jun 13 '07 #2
Purple
404 Expert 256MB
Hi again,

you could also get a view using enterprise manager => management. take a look at the process info and locks..

Purple
Jun 13 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Sam | last post by:
Guys, I have a question regarding oracle. I have a stored procedure executing a number of statements including delete , select and lots of inserts in one big procedure and main transaction I...
4
by: Leaf | last post by:
Greetings, I've been reading with interest the threads here on deadlocking, as I'm finding my formerly happy app in a production environment suddenly deadlocking left and right. It started...
3
by: andy.standley | last post by:
Hi, We have DB2 SDK V8.2.1 running under redhat ES 3 (taroon update 5) kernel 2.4.21 We have an instance that also contains the tools database for the admin server. We tools have been used to...
2
by: Adam Smith | last post by:
I used to get on exception: Lock request time out period exceeded. Now I get: Lock request time out period exceeded. The statement has been terminated.
15
by: Zeng | last post by:
Hi, The bigger my C# web-application gets, the more places I need to put in the tedious retrying block of code to make sure operations that can run into database deadlocks are re-run (retried)...
0
by: DaveT | last post by:
I am trying to find help on how to properly use ado transactions across multilple classes that each call a method to save data in their respective database table. The current method created worked...
3
by: ThunderMusic | last post by:
Hi, We have a web application developped in asp.net (I think it's not relevant, but well, it's so you know)... Yesterday, we received the following message "Transaction (Process ID 69) was...
5
by: Altman | last post by:
I have a customer using our program with SQL server and is occasionally getting a "Transaction (process ID xxxxx) was deadlocked on lock resources with another process and has been chosen as the...
6
by: Christian Welzel | last post by:
Hi there, currently i'm looking for a way to repeat a rolled back transaction in a nice way. my problem: in my webapp (a browser game) i get a lot of deadlocks in the mysql innodb tables. mysql...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.