上面的出错信息还不完整,现在把详细的出错日志帖在这里:
System.Runtime.InteropServices.COMException (0x8004D00E): HRESULT 中的异常:0x8004D00E。 at System.Data.Common.ITransactionExport.Export(ITransaction transaction, UInt32& transactionCookie) at System.Data.SqlClient.Transaction.GetTransactionCookie(Byte[] dtcAddr, ITransaction transaction, ITransactionExport& transactionExport, Byte[]& cookie, Int32& length) at System.Data.SqlClient.SqlInternalConnection.EnlistNonNullDistributedTransaction(ITransaction transaction) at System.Data.SqlClient.SqlInternalConnection.EnlistDistributedTransaction(ITransaction newTransaction, Guid newTransactionGuid) at System.Data.SqlClient.SqlInternalConnection.EnlistDistributedTransaction() at System.Data.SqlClient.SqlInternalConnection.Activate(Boolean isInTransaction) at System.Data.SqlClient.SqlConnection.Open() at SMS.Transaction.Trans.ActiveAccount(String username, String password, Int32 areaid, String areaname)状况说明:
  1、想实现多台SQL SERVER 的事务处理(现只有两台)
  2、采用。NET实现,从ServicedComponent继承。
  3、本地测试一切OK ,环境为WIN 2000 SERVER + SQL SERVER 2000 
    4、上传到服务器,出现上面的问题,环境为WIN2000,没有安装SQL SERVER 2000 ,    已经用REGSVCS 注册事务组件,开始怀疑没有上传签名文件,上传后问题依旧。
各位老大给点意见,估计是什么配置环境没有搞对,或者其它什么方面没有处理好。

解决方案 »

  1.   

    进一步测试结果:
      1、将服务组件安装到本地一台服务器,SQL SERVER 分别指到另位的服务器,其中一台的MSDTC停掉,可以产生上面一样的出错问题,两台都启动,则一切OK,以为是远端服务器上的MSDTC没有启动,一看都启动了,希望破灭,只得另找问题所在。 现在远端运行分布式事务的服务器与本地不同的就是本地安装了SQL SERVER。 个人觉得MICROSOFT不能这么SB,没有SQL SERVER 就不能运行分布式事务。
      
        2、在去找台只安装了。NET框架没有安装SQL SERVER 的机子试试。。
            都快疯了。