Remote stored procedure
From: nivek (eckart_612_at_hotmail.com)
Date: 12/21/04
- Next message: Tibor Karaszi: "Re: add a Primary Key (or something like that) to a View"
- Previous message: DraguVaso: "add a Primary Key (or something like that) to a View"
- Next in thread: Joseph Sack: "RE: Remote stored procedure"
- Reply: Joseph Sack: "RE: Remote stored procedure"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 21 Dec 2004 10:12:03 -0600
I am trying to run a stored procedure on a remote server and insert the
output into a table on the local machine.
The two servers are linked and I am using the code as follows
BEGIN DISTRIBUTED TRAN
insert into ServerA.Database.dbo.drv_total
exec ServerB.master.dbo.xp_fixeddrives
COMMIT TRAN
The MSDTC is started on both machines.
I am getting this error:
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. ]
Any thoughts?
TIA,
nivek
- Next message: Tibor Karaszi: "Re: add a Primary Key (or something like that) to a View"
- Previous message: DraguVaso: "add a Primary Key (or something like that) to a View"
- Next in thread: Joseph Sack: "RE: Remote stored procedure"
- Reply: Joseph Sack: "RE: Remote stored procedure"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|