视频1 视频21 视频41 视频61 视频文章1 视频文章21 视频文章41 视频文章61 推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37 推荐39 推荐41 推荐43 推荐45 推荐47 推荐49 关键词1 关键词101 关键词201 关键词301 关键词401 关键词501 关键词601 关键词701 关键词801 关键词901 关键词1001 关键词1101 关键词1201 关键词1301 关键词1401 关键词1501 关键词1601 关键词1701 关键词1801 关键词1901 视频扩展1 视频扩展6 视频扩展11 视频扩展16 文章1 文章201 文章401 文章601 文章801 文章1001 资讯1 资讯501 资讯1001 资讯1501 标签1 标签501 标签1001 关键词1 关键词501 关键词1001 关键词1501 专题2001
SSIS连接Oracle报错ThesecomponentsaresuppliedbyOracle
2020-11-09 07:43:21 责编:小采
文档


早上有个朋友发邮件给遇到一个SSIS连接Oracle的问题,具体的错误信息如下: Test connection failed because of an error in initializing provider. Oracle client and networking components were not found. These components are supplied by Oracle Cor

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

Test connection failed because of an error in initializing provider. Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
Provider is unable to function until these components are installed.

问题的原因:

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

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

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

解决办法如下:

  • Download the Oracle 11G full client.

  • Install the 32 AND the bit version of the 11G full client (Installation Type: Administrator) and reboot the server afterwards. The 32 bit version is needed for development from BIDS with is 32 bit, the bit version is needed for production with the SQLAgent, which is bit.

  • Configure the Oracle clients (both 32 and bits) by editing the files tnsnames.ora and sqlnet.ora. Try to do this with an Oracle DBA or, even better, let him/her do this.

  • Use the "Oracle provider for OLE DB" from SSIS, don't use the "Microsoft Provider for Oracle" because a bit version of it does not exist.

  • Schedule your packages with the SQLAgent.


  • 对于SQL Server 2008 R2的机器需要做额外配置:

    1. Open REGEDIT (Start… Run… REGEDIT) on the server and search for the following entry (for the 32 bits driver): HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC\MTxOCI
    Make sure the following values are entered:

    2. Next, search for (for the bits driver): HKEY_LOCAL_MACHINE\Software\Wow32Node\Microsoft\MSDTC\MTxOCI
    Make sure the same values as above are entered.

    3. Reboot your server.

    来源于:http://sqlblog.com/blogs/jorg_klein/archive/2011/06/09/ssis-connect-to-oracle-on-a--bit-machine.aspx

    下载本文
    显示全文
    专题