Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS 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 12th, 2005, 07:25 PM
Registered User
 
Join Date: Jul 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default DTS error: Unable to enlist in the transaction

DTS problem: Transfer failed, error: Unable to enlist in the transaction

Hi everyone,

I have a VB.Net Windows app. that transfers MS Access data over the internet to a SQL Server. It works fine. The thing is when I want to use transaction in order to have rollback in case of error, I get :
Transfer failed, error: Unable to enlist in the transaction

MSDTC service is running on both client and server machines.
I tweaked a little to no avail:
Control Panel>>Administrative Tools>>Component Services>>My Computer>>(right click) Properties: MSDTC tab.
There is a "Security configuration" button for "Transaction Coordination", I checked the unchecked: "Transaction Internet Protocol (TIP) Transactions" box but it didn't help.
When I unchecked "Use local coordinator" and entered the name/IP of the server it returned "remote machine does not exist" whereas I could access it through Enterprise manager...
It's frustrating, I can't find anything on the web!


Therse are the properties I changed in the module with rollback:

 goPackage.FailOnError = True
.....
 oStep.JoinTransactionIfPresent = True

oStep.FailPackageOnError = True

Thanks in advance

 
Old July 13th, 2005, 04:31 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Its a basic flaw of Access I'm afraid (well the underlying Jet engine anyway), you can't enlist it in a distributed transaction like this. You'll just have to do without the transaction.
 
Old July 13th, 2005, 07:36 PM
Registered User
 
Join Date: Jul 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wow... Is this true? Just think about all the pain I had to go through!
Thanks a lot anyway pgtips, and I trust you on this, but is there a knowledge base where this is discussed? Isn't there any workaround?

 
Old July 18th, 2005, 04:37 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

http://support.microsoft.com/?kbid=167743
Quote:
quote:
Microsoft Access (Jet) does mot (sic) support enlistment with the Microsoft Distributed Transaction Coordinator (DTC)
rgds
Phil





Similar Threads
Thread Thread Starter Forum Replies Last Post
Transaction Log Error [email protected] SQL Server 2000 1 June 4th, 2008 09:26 PM
SSIS Error - Transaction context in use by... ACDC SQL Server DTS 1 April 23rd, 2007 11:11 AM
Distributed Transaction Error ejan Pro VB 6 7 July 24th, 2006 08:01 AM
Unable to Schedule or See Existing DTS Jobs Crowandazi SQL Server DTS 1 March 4th, 2005 03:43 PM





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