473,769 Members | 5,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQLOLEDB was unable to begin a distributed transaction

na
My ASP.Net 2.0 web site has a Data.xsd schema. I just added a table
adapter to the collection and configured it to use an existing SQL 2000
stored proc. When I tried to preview data from the table adapter, I
got "SQLOLEDB was unable to begin a distributed transaction" error.

The stored proc joins SQL 2000 tables via three linked servers. The
stored proc is declared on Win2003Host. Two of the linked servers
(Win2003A, Win2003B) running on Windows 2003 Servers and one (Win2000C)
running on a Windows 2000 Server. All the Win2003s have the Component
Serverices "Enable network DTC access" checked and properly configured.
The stored proc also runs fine in SQL Server management Studio. If I
remove the table from the Windows 2000 Server, then everything is fine.
Does anyone know how to configure SQL2000 in a mix Windows 2000 and
Windows 20003 join? Thanks. Happy New Year.

Here is my test stored proc on Win2003Host:

set ANSI_NULLS ON
set QUOTED_IDENTIFI ER ON
GO

ALTER PROCEDURE [dbo].[procCompareAuth ors]
AS
BEGIN
SET XACT_ABORT ON
SET NOCOUNT ON

select A.*, c.*
from [win2003A].[pubs].dbo.authors A
full outer join [win2003B].pubs.dbo.title author B on A.au_id = B.au_id
full outer join [Win2000C].pubs.dbo.title s C on B.title_id = C.
title_id

END

Dec 28 '06 #1
0 2674

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3026
by: Amy Lewis | last post by:
I recently moved my Windows 2003 server from one domain into another. After the move I have noticed that some of my .asp pages won't load. I get a server 500 error. When I look in the event log I see cannot load application "....surveys" com+ unable to talk to the Microsoft Distributed Transaction Coordinator" I went into Services and realized that the Distributed Transaction Coordinator wasn't started. I tried to
1
14491
by: faris_idris | last post by:
Hello, we are using Oracle 9i for client and server and Powerbuilder 8.0.3. We have a database link between two databases, whenever I try to do a simple select, update or insert I get the following error. Any idea why? "ORA-02041: client database did not begin a transaction" This is the sql I am using. It works fine if I am on sql plus. I have also tried to "using sqlca" as well as creating a new transaction for the select. All return...
7
13911
by: Prashanth | last post by:
Hi, We are facing some issues in COM+ deployment. We get system error "Unable to enlist in a distributed transaction" . It has a very inconsistant behaviour. On refreshing the screens couple of times, the error disappears.Also it reappears abruptly giving an impression that the transaction failed although the changes are commited to the database.Please let me know if any of you have faced it before. This is a .Net Application with...
1
39169
by: Marcus | last post by:
I have a database containing my own tables and data and I wanted to be able to query this against an accountancy program which has an ODBC driver. This was never a problem with MS Access and Jet but I hit Jet's limitations and have moved to SQL. Creating my own SQL database was no problem, but I was unsure of the best way to be able to be able to have my SQL tables and my accountancy software tables appearing in the same Access front end....
1
18488
by: Steve Thorpe | last post by:
Hi have have two linked SQL Servers and I am trying to get things working smootly/quickly. Should I be using 'BEGIN TRANSACTION' or 'BEGIN DISTRIBUTED TRANSACTION' ? Basicly, these SPs update a local table and a remote table in the same transaction. I cant have one table updated and not the other. Please dont say replicate the tables either as at this time, this is is not an option. I have for example a number of stored procedures...
7
2382
by: Richard Maher | last post by:
Hi, I am seeking the help of volunteers to test some software that I've developed which facilitates distributed two-phase commit transactions, encompassing any resource manager (e.g. SQL/Server or Oracle) controlled by Microsoft's Distributed Transaction Coordinator in a Windows2000 environment, with any resource manager under the control of DECdtm (e.g. Rdb (or Oracle via the XA Veneer)) in a VMS environment.
2
3896
by: John Lee | last post by:
Hi, I have few questions related to .NET 2.0 TransactionScope class behavior: 1. Check Transaction.Current.TransactionInformation.DistributedIdentifier to identify if distributed transaction is used - is it accurate way? 2. I have the following code blocks - In code block 1, the first check the DistributedIdentifier is ALL 0s so it
1
6792
by: ammar_fake | last post by:
Hello! I have an Oracle linked server connected through MSDAORA. Linked server queries work perfectly - the "openquery" ones as well as the 4-part-named ones. The problem I have is with embedding the queries within SQL Server triggers. Trigger: CREATE TRIGGER tgTest ON .
3
6789
by: c-eric.geil | last post by:
I am receiving the following error when I run a stored procedure: Server: Msg 7391, Level 16, State 1, Procedure spXXXX The SP inserts data into a local (sql 2000) table from a remote sql 2000 database. The SP works fine until I add a trigger to the destination. The contents of the trigger do not appear to matter, as I have tried removing everything but one line, which is just a declare statement. Updating the table with the trigger...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10214
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9865
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7410
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.