我在COM+中,使用SetComplete和SetAbort进行事务管理。在MSSQL下,使用这个方法进行多表更新,它完全正确;但到了ORACLE下时,事务就不起作用了,也就是在多表更新时,回退事务不起作用。是不是需要配置什么?希望各位大侠指教!  

解决方案 »

  1.   

    安装
    oracle manager for microsoft transaction serverUsing Oracle with Microsoft Transaction Server and COM+--------------------------------------------------------------------------------The information in this article applies to:
     Microsoft Transaction Server 2.0 
    Microsoft COM+, version 1.0 --------------------------------------------------------------------------------SUMMARY
    This article replaces previous documents that described how to use Oracle with COM+/Microsoft Transaction Server, including the documentation that accompanied the Microsoft Transaction Server 2.0 release. COM+/Microsoft Transaction Server components can access Oracle 7, Oracle 8, and Oracle 8i database servers. They can access Oracle database servers on Microsoft Windows NT and Microsoft Windows 2000, Unix, and other platforms. They can access Oracle Workgroup Servers, Oracle Enterprise Servers, and Oracle Parallel Servers. NOTE: Due to problems with MTS/COM+ using older versions of Oracle Client, the minimum version of Oracle Client now supported is 8.1.7. Oracle Client 8.1.7 is still able to access older versions of Oracle Server, however you should contact Oracle Support for more information on this. The following sections list the recommended order of installation of the software for COM+/Microsoft Transaction Server components to work with Oracle Databases. If you do not perform the installations in this exact order, components may not work as expected because of configuration problems. 
     MORE INFORMATION
     For Windows 2000
    To ensure that COM+ components work with Oracle, follow these steps: Install Windows 2000.  
    Install Oracle Client 8.1.7 with patch 8.1.7.1.5. Please contact Oracle for information on how to install the latest patch.  
    Install Oracle Net8 with the latest patches.  
    Install Microsoft Data Access Components (MDAC) 2.6 Service Pack 1 (SP1) or later.  
    Update the client software registry keys. (See "Update Oracle Client Software Registry Keys" later in this document.)  
    For Windows NT 4.0
    To ensure that transactional components work with Microsoft Transaction Server, follow these steps: Install Windows NT with with Service Pack 6a or later.  
    Install Oracle Client 8.1.7 with patch 8.1.7.1.5. Please contact Oracle for information on how to install the latest patch.  
    Install Oracle Net8 with the latest patches.  
    Install the Windows NT Option Pack.  
    Install Windows NT Service Pack 6a (SP6a).  
    Install Microsoft Data Access Components (MDAC) 2.6 Service Pack 1 (SP1) or later.  
    Update the client software registry keys. (See "Update Oracle Client Software Registry Keys," later in this document.)  
    For additional information on these steps, see the "Set Up Oracle Support" section of this article. NOTE: All of the version numbers listed in this document were current at the time that the document was written. Microsoft strongly recommends that you use the most current versions and patches of all Oracle and Microsoft software. Earlier versions of some of the components listed in this document may function adequately in some circumstances but not in others. Set Up Oracle Support
    To set up Oracle to work with transactional COM+/Microsoft Transaction Server components, use the following procedure. Install Oracle database server software on your database server system. If your COM+/Microsoft Transaction Server application accesses an Oracle database on Windows NT, Windows 2000, or Unix, ensure that the latest Oracle patch is installed on that system. You can obtain the latest Oracle patches for Windows NT/2000 from Oracle's Support site. Locate http://metalink.oracle.com/. Log in, and choose patches on the left hand navigation pane. Search for the latest patches by Choosing the Product family as Oracle Server, and the Platform as MS Windows NT/2000. Please contact Oracle for information on how to install the latest patch. NOTE: Microsoft recommends that you install Oracle Server and COM+/Microsoft Transaction Server on separate computer
      

  2.   

    上面这篇文档没用,sorry,说得太绝了。
    我去年解决这个问题的时候就看过包括这批文档在内的许多文档了。这些文档中只有几行有用,那就是修改数据库服务器的注册表。当然还有其它问题,等你发现了再提问吧。
      

  3.   

    这个问题我已经在oracle9i的文档中找到答案了,谢谢大家的参与