Improve company productivity with a Business Account.Sign Up

x
?
Solved

Transaction deadlock error

Posted on 2016-09-09
1
Medium Priority
?
29 Views
Last Modified: 2016-09-13
Hello,
Hoe do I handle this error in the vb.net cde.

How can I set transaction priority to normal in the query.

Transaction (Process ID 52) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
0
Comment
Question by:RIAS
1 Comment
 
LVL 54

Accepted Solution

by:
Vitor Montalvão earned 2000 total points
ID: 41790830
First you need to understand what's a deadlock and why it occurs.
After that you need to know how to detect and solve a deadlock for the RDBMS you're using.
With that said you can't set any priority. You need to identify the concurrent queries and work on them to avoid future deadlocks.
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

SingleRun is a tool that ensures that only one instance of an application is started, running it again brings the application to focus.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question