ssis oracle配置,64位机器上SSIS 连接Oracle报错

早上有个朋友发邮件给遇到一个SSIS连接Oracle的问题,具体的错误信息如下:

Testconnectionfailedbecauseofanerrorininitializingprovider.Oracleclientandnetworkingcomponentswerenotfound.ThesecomponentsaresuppliedbyOracleCorporationandarepartoftheOracleVersion7.3.3orlaterclientsoftwareinstallation.Providerisunabletofunctionuntilthesecomponentsareinstalled.

问题的原因:

1.因为BIDS是32位的应用程序即使在64位的机器上面,所以无法使用64位的MicrosoftProviderforOracle.所以从64位的机器上连接Oracle无法成功。

2.因为MicrosoftProviderforOracle只提供了32位的版本,而且微软没有计划在将来发布64的版本。

3.Oracle客户端自身问题,需要安装完整11G客户端。

解决办法如下:DownloadtheOracle11Gfullclient.

Installthe32ANDthe64bitversionofthe11Gfullclient(InstallationType:Administrator)andreboottheserverafterwards.The32bitversionisneededfordevelopmentfromBIDSwithis32bit,the64bitversionisneededforproductionwiththeSQLAgent,whichis64bit.

ConfiguretheOracleclients(both32and64bits)byeditingthefilestnsnames.oraandsqlnet.ora.TrytodothiswithanOracleDBAor,evenbetter,lethim/herdothis.

Usethe"OracleproviderforOLEDB"fromSSIS,don'tusethe"MicrosoftProviderforOracle"becausea64bitversionofitdoesnotexist.

ScheduleyourpackageswiththeSQLAgent.

对于SQLServer2008R2的机器需要做额外配置:

1.OpenREGEDIT(Start…Run…REGEDIT)ontheserverandsearchforthefollowingentry(forthe32bitsdriver):HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC\MTxOCI

Makesurethefollowingvaluesareentered:

p_w_picpath_thumb_3FBC2865.png

2.Next,searchfor(forthe64bitsdriver):HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\MSDTC\MTxOCIMakesurethesamevaluesasaboveareentered.

3.Rebootyourserver.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值