用 oracle oledb provider

解决方案 »

  1.   

    不能用 oracle ole db provider for .net 因为我想从数据库连接中拖动表创建数据集,oracle ole db privider for .net 不行,虽然可以连接上,.net ide 提示用microsoft ole db provider for oracle ,但出现了上面的问题.而且不是不能解决,oracle 的资料说是权限在ntfs下的问题.看英文部分
      

  2.   

    谁有ODPNET9202102.exe,是ORACLE为。NET 开发的驱动程序。
      

  3.   

    引用:
    提示是:程序初始化失败....
        这个错误的原因我以前遇到过,很有可能是你的驱动程序没有在注册表中注册,具体办法是:
    将program files\common files\system\ole db\中相应的注册表文件的信息写入注册表
    例如我的系统是win2000+oracle8i,运行mtxoci81_win2k.reg即可
      

  4.   

    oracle ole db privider for .net 可以使用,但是我在使用的过程中,偶尔会随机出现一些
    System.Data.OleDb.OleDbException: 未指定的错误: E_FAIL(0x80004005),至今未找到原因,换用microsoft的提供程序后问题解决
      

  5.   

    昨晚在反复按如下方法:microsoft ole db for oracle  工作正常。楼上提到的错误,文中也有描述。解决的方法一样的。Solution Description --------------------  You need to give the Authenticated User privilege to the Oracle Home by following these steps:     1.  Log on to Windows as a user with Administrator privileges.    2.  Launch Windows Explorer from the Start Menu and and navigate to the        ORACLE_HOME directory.    3.  Right-click on the ORACLE_HOME folder and choose the "Properties" option        from the drop down list.  A "Properties" window should appear.    4.  Click on the "Security" tab on the "Properties" window.    5.  Click on "Authenticated Users" item in the "Name" list (on Windows XP the        "Name" list is called "Group or user names").    6.  Uncheck the "Read and Execute" box in the "Permissions" list (on Windows        XP the "Permissions" list is called "Permissions for Authenticated Users").        This box will be under the "Allow" column.    7.  Check the "Read and Execute" box.  This is the box you just unchecked.    8.  Click the "Apply" button.    9.  Click the "OK" button.   10.  You may need to reboot your computer after these changes have been made.  Re-execute the application and it should now work.