我有3个服务器,服务器A 172.16.100.140,服务器B 10.0.60.11,服务器C 10.0.30.12,其中A服务器做了B,C服务器的链接,在A中查询B,C上的数据没有问题,我在A服务器上做了一个触发
CREATE TRIGGER T_INSERT_触发销售短信天津
ON detuo_mo
FOR INSERT
ASBEGIN TRANSACTIONinsert into detuo_mt
select 
userno,
'0',

select 
(select '超市:'+cast((case when  sum(sstotal) is null then 0 else ceiling(sum(sstotal)) end) as varchar(100)) from  [10.0.30.12].[tjcspos].[dbo].[tsalsale])+
(select '负一:'+cast((case when  sum(sstotal) is null then 0 else ceiling(sum(sstotal)) end) as varchar(100))  from [10.0.60.11].[posdb].[dbo].[tsalsaleplu]  where depcode='10')+
(select '一楼:'+cast((case when  sum(sstotal) is null then 0 else ceiling(sum(sstotal)) end) as varchar(100))  from [10.0.60.11].[posdb].[dbo].[tsalsaleplu]  where depcode='11')+
(select '二楼:'+cast((case when  sum(sstotal) is null then 0 else ceiling(sum(sstotal)) end) as varchar(100))  from [10.0.60.11].[posdb].[dbo].[tsalsaleplu]  where depcode='12')+
(select '三楼:'+cast((case when  sum(sstotal) is null then 0 else ceiling(sum(sstotal)) end) as varchar(100))  from [10.0.60.11].[posdb].[dbo].[tsalsaleplu]  where depcode='13')+
(select '四楼:'+cast((case when  sum(sstotal) is null then 0 else ceiling(sum(sstotal)) end) as varchar(100))  from [10.0.60.11].[posdb].[dbo].[tsalsaleplu]  where depcode='14')+
(select '五楼:'+cast((case when  sum(sstotal) is null then 0 else ceiling(sum(sstotal)) end) as varchar(100))  from [10.0.60.11].[posdb].[dbo].[tsalsaleplu]  where depcode='15')+
(select '六楼:'+cast((case when  sum(sstotal) is null then 0 else ceiling(sum(sstotal)) end) as varchar(100))  from [10.0.60.11].[posdb].[dbo].[tsalsaleplu]  where depcode='16')+
(select '百货总:'+cast((case when  sum(sstotal) is null then 0 else ceiling(sum(sstotal)) end) as varchar(100))  from [10.0.60.11].[posdb].[dbo].[tsalsaleplu])),
'0',
getdate()
 from INSERTED where msg='天津' and userno in ('12222222222')
COMMIT TRANSACTION
GO在往A表的detuo_mo中插入数据的时候,报错,提示
(0 行受影响)
[OLE/DB provider returned message: 新事务不能登记到指定的事务处理器中。 ]
OLE DB 错误跟踪[OLE/DB Provider 'SQLOLEDB' ITransactionJoin::JoinTransaction returned 0x8004d00a]。
消息 7391,级别 16,状态 1,过程 T_INSERT_触发销售短信天津,第 8 行
该操作未能执行,因为 OLE DB 提供程序 'SQLOLEDB' 无法启动分布式事务。按照以下方法操作无效:
打开“管理工具――组件服务”,以此打开“组件服务――计算机”,在“我的电脑”上点击右键。在MSDTC选项卡中,点击“安全配置”按钮。在安全配置窗口中做如下设置:l         选中“网络DTC访问”l         在客户端管理中选中“允许远程客户端”“允许远程管理”l         在事务管理通讯中选“允许入站”“允许出站”“不要求进行验证”l         保证DTC登陆账户为:NT   Authority\NetworkService
求高手,神仙指点,跪谢!!!