msdtc备份oracle,配置Oracle,使它支持MTS下分布事务-ASP教程,数据库相关

1.根据q193893,我们需要在oracle里面建立两个视图。

information about using oracle with microsoft transaction server and com+ components

http://support.microsoft.com/?id=193893

根据我们以往的经验,我们可以尝试用sys账号运行oracle自带的脚本。脚本的默认路径在:

c:\oracle\ora92\rdbms\admin\xaview.sql

请在sql plus中运行脚本。

2.以上命令会建立两个视图。我们还需要手动给这两个新建立的视图添加public权限:

sql>grant select on v$xatrans$ to public with grant option;

sql>grant select on v$pending_xatrans$ to public with grant option;

sql>grant select any table to public;

以上的操作是在oracle数据库所在的电脑上进行。下面的操作是在部署com+ 组件的电脑上进行:

1. 根据q193893, 我们需要修改注册表:

hkey_local_machine\software\microsoft\msdtc\mtxoci

"oraclexalib"="oraclient9.dll"

"oraclesqllib"="orasql9.dll"

"oracleocilib"="oci.dll"

如果是windows 2003或者windows xp2,我们还需要建立:

hkey_local_machine\software\microsoft\msdtc\xadll

然后添加名字为:

mtxoci.dll的字符串键,内容为:

c:\windows\system32\mtxoci.dll

2. 如果您是在windows 2003或者windows xp上,我们需要给msdtc账号设定对应的权限。msdtc运行在network service账号下。请您把network service账号添加到administrators组里面。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值