I made two SQL Server 2000 as linked server using same remote login
These both server are running on different Domain
Configuration Detail
1. Server A - MS SQL Server 2000 SP4, windows 2003 standard edition SP1
2. Server B - MS SQL Server 2000 SP3, windows 2003 standard edition
I have Created same login in both the servers called test
I have written below trigger on Server A Database
CREATE TRIGGER [insert] ON [dbo].[ITSM_PRIORITY_T ABLE]
FOR INSERT
AS
begin
set xact_abort on
SET NOCOUNT ON
IF SUSER_SNAME() <> 'SDOARF'
insert into test.OARF.dbo.A pplication (ApplicationNam e) values
('test1221')
end
But when i am inserting any record in ITSM_PRIORITY_T ABLE, it is giving me below error
[microsoft][ODBC SQL Server Driver][SQL Server][OLE/DB provider returned message: New Transactio cannot enlistin the specified trasaction coordinator. ]
[microsoft][ODBC SQL Server Driver][SQL Server]OLE DB error trace [ OLE/DB Provider 'SQLOLEDB' ITransactionJoi JoinTransaction returned 0x8004d00a].
[microsoft][ODBC SQL Server Driver][SQL Server]The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
Workaround:
1. I checkd DTS Service is running on both the servers
2. Net Access is given in both servers
3. I tried to use stored procedure which is called by insert trigger but won't work
4. I am able to insert between these two server using four part query
e.g
insert into test.OARF.dbo.A pplication (ApplicationNam e) values ('test1221')
Please guide me as soon as possible if someone faced the same issue
This issue has really screwed up my head
Thank you
These both server are running on different Domain
Configuration Detail
1. Server A - MS SQL Server 2000 SP4, windows 2003 standard edition SP1
2. Server B - MS SQL Server 2000 SP3, windows 2003 standard edition
I have Created same login in both the servers called test
I have written below trigger on Server A Database
CREATE TRIGGER [insert] ON [dbo].[ITSM_PRIORITY_T ABLE]
FOR INSERT
AS
begin
set xact_abort on
SET NOCOUNT ON
IF SUSER_SNAME() <> 'SDOARF'
insert into test.OARF.dbo.A pplication (ApplicationNam e) values
('test1221')
end
But when i am inserting any record in ITSM_PRIORITY_T ABLE, it is giving me below error
[microsoft][ODBC SQL Server Driver][SQL Server][OLE/DB provider returned message: New Transactio cannot enlistin the specified trasaction coordinator. ]
[microsoft][ODBC SQL Server Driver][SQL Server]OLE DB error trace [ OLE/DB Provider 'SQLOLEDB' ITransactionJoi JoinTransaction returned 0x8004d00a].
[microsoft][ODBC SQL Server Driver][SQL Server]The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.
Workaround:
1. I checkd DTS Service is running on both the servers
2. Net Access is given in both servers
3. I tried to use stored procedure which is called by insert trigger but won't work
4. I am able to insert between these two server using four part query
e.g
insert into test.OARF.dbo.A pplication (ApplicationNam e) values ('test1221')
Please guide me as soon as possible if someone faced the same issue
This issue has really screwed up my head
Thank you
Comment