Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Biztalk
|
Biztalk General discussion about Biztalk server.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Biztalk section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 9th, 2003, 09:01 PM
Registered User
 
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to reddynet
Default How to Prevent Concurrency Problem



Hi All,

 I have built a custom AIC (IPipelineComponent), All it does is it parses incoming string and dumps values into database and write a log file..
 Initially I had Concurrency problems while inserting into database however in database part I was able to control using
"SET TRANSACTION ISOLATION LEVEL SERIALIZABLE"

For logfile I had done something like this
 If Fso.FileExists(Fname) = False Then Fso.CreateTextFile Fname

After this I was able to prevent concurrency, BUT I KNOW THIS IS NOT A CORRECT WAY TO PREVENT CONCURRENCY...

AND ALSO I WANT TO ADD COUNTER TO THE COMPONENT WHICH OPENS A TEXT FILE UPDATES THE VALUE BY 1 EVERY TIME IT PROCESS A DOCUMENT... HOW I PREVENT OTHER THREADS FROM UPDATING WHILE ONE THREAD IS MODIFYING IT....

Cheers:D
Reddynet





Similar Threads
Thread Thread Starter Forum Replies Last Post
Concurrency Violation Problem - Please HELP! Aaron Edwards ASP.NET 2.0 Basics 0 March 25th, 2007 08:17 PM
Concurrency Violation Problem - Please HELP! Aaron Edwards ADO.NET 1 March 25th, 2007 08:15 PM
CONCURRENCY pallone SQL Server 2000 13 December 6th, 2006 12:01 PM
Concurrency problem sanjaymannnet ASP.NET 1.0 and 1.1 Professional 0 July 10th, 2006 05:42 AM
Concurrency dextertoh Classic ASP Databases 2 May 17th, 2004 12:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.