Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WCF
Hi,
In my application I have a WCF service hosted in IIS. This service save data to centrilized database. It insert/updates data in 8 tables so it takes much time. There are window base applications who call the service and send data to service for upload and if it is successful then it shows message to client. I am using transaction scope entity framework for inserting/updation data on sql server using WCF service. In my case not all requests data is uploaded when I check log I found that many request goes to deadlock. So how I will handle deadlock in this situation.
Posted 10-Sep-12 4:33am
Comments
Sergey Alexandrovich Kryukov at 10-Sep-12 16:23pm
   
Not enough information. If you could create some short but complete code sample, highly simplified, focused only on this problem, it can help.
Deadlocks cannot be "handled", they should be prevented. This is a matter of analysis and design of the whole system; and it can range from a trivial bug to an extremely complex elusive case which is hard to reproduce. For example, how did you detect a deadlock?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 5,130
1 DamithSL 4,237
2 Maciej Los 3,700
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,846


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 10 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100