Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Starting Transaction in Linked Server (When MSDTC installed).
We are using linked servers(Server1 & server2). MSDTC is installed.

When i try fire a query inside a transaction it gives an error.

Qry is :
BEGIN TRANSACTION
SELECT * FROM JDEDB.JDE_PRODUCTION.PRODDTA.F0911z1
COMMIT TRAN GO



Following Error Message :
"Server: Msg 7391, Level 16, State 1, Line 2
The operation could not be performed because the OLE DB provider 'SQLOLEDB'
was unable to begin a distributed transaction.
[OLE/DB provider returned message: New transaction cannot enlist in the
specified transaction coordinator. ]
OLE DB error trace [OLE/DB Provider 'SQLOLEDB'
 ITransactionJoin::Jo
inTransaction returned 0x8004d00a]. "

thanx in advance

Report this thread to moderator Post Follow-up to this message
Old Post
vignesh
04-28-05 12:23 PM


Re: Starting Transaction in Linked Server (When MSDTC installed).
Hi
Try
BEGIN DISTRIBUTED TRAN
.......

COMMIT TRAN
"vignesh" <vignesh@discussions.microsoft.com> wrote in message
news:B682D4A6-0866-42E4-A8C3- 7C2036C59D0B@microso
ft.com...
> We are using linked servers(Server1 & server2). MSDTC is installed.
>
> When i try fire a query inside a transaction it gives an error.
>
> Qry is :
> BEGIN TRANSACTION
> SELECT * FROM JDEDB.JDE_PRODUCTION.PRODDTA.F0911z1
> COMMIT TRAN GO
>
>
>
> Following Error Message :
> "Server: Msg 7391, Level 16, State 1, Line 2
> The operation could not be performed because the OLE DB provider
 'SQLOLEDB'
> was unable to begin a distributed transaction.
> [OLE/DB provider returned message: New transaction cannot enlist in the
> specified transaction coordinator. ]
> OLE DB error trace [OLE/DB Provider 'SQLOLEDB'
>  ITransactionJoin::Jo
inTransaction returned 0x8004d00a]. "
>
> thanx in advance



Report this thread to moderator Post Follow-up to this message
Old Post
Uri Dimant
04-28-05 12:23 PM


Re: Starting Transaction in Linked Server (When MSDTC installed).
Not working , Getting the same error.

"Uri Dimant" wrote:

> Hi
> Try
> BEGIN DISTRIBUTED TRAN
> ........
>
> COMMIT TRAN
> "vignesh" <vignesh@discussions.microsoft.com> wrote in message
> news:B682D4A6-0866-42E4-A8C3- 7C2036C59D0B@microso
ft.com... 
> 'SQLOLEDB' 
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
vignesh
04-28-05 12:23 PM


Re: Starting Transaction in Linked Server (When MSDTC installed).
Well,does MSDTC  service run ?


"vignesh" <vignesh@discussions.microsoft.com> wrote in message
news:F6EDFEA9-0E0D-4D3E-9888- 427D7DB29CB8@microso
ft.com...
> Not working , Getting the same error.
>
> "Uri Dimant" wrote:
> 
the 



Report this thread to moderator Post Follow-up to this message
Old Post
Uri Dimant
04-28-05 12:23 PM


Re: Starting Transaction in Linked Server (When MSDTC installed).
Yes it is running. modified the query as

BEGIN distributed TRANSACTION
SELECT * FROM JDEDB.JDE_PRODUCTION.PRODDTA.F0911z1
COMMIT TRAN GO


"Uri Dimant" wrote:

> Well,does MSDTC  service run ?
>
>
> "vignesh" <vignesh@discussions.microsoft.com> wrote in message
> news:F6EDFEA9-0E0D-4D3E-9888- 427D7DB29CB8@microso
ft.com... 
> the 
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
vignesh
04-28-05 12:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 09:37 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006