驱动程序的问题,试试用ORACLE的ODBC或者ORACLE OLEDB Provider。

解决方案 »

  1.   

    在ado中使用udl文件,先测试udl文件没有问题。
      

  2.   

    enhydraboy(乱舞的浮尘):ORACLE的ODBC是可以的。
    我必须的用ado.
    drabit(square): 测试udl,不行的。
    大家帮帮忙!
      

  3.   

    Oracle drive:
    Provider=OraOLEDB.Oracle.1;Password=tiger;Persist Security Info=True;User ID=scott;Data Source=数据库Microsoft ODBC for Oracle:
    Provider=MSDAORA.1;Password=tiger;User ID=scott;Data Source=数据库;Persist Security Info=True
      

  4.   

    我是手动配置的,利用adoconnect,提示错误的
      

  5.   

    使用 chanet(牧师) 兄的,好用.
    Microsoft ODBC for Oracle:
    Provider=MSDAORA.1;Password=tiger;User ID=scott;Data Source=数据库;Persist Security Info=True
      

  6.   

    oracle安装后连接通过了么?
    ado连接串对么?
      

  7.   

    oracle安装后连接通过了,ado连接串对的
    可就是不行啊
      

  8.   

    去下一个ORACLE OLEDB Provider,用Oracle drive:
    Provider=OraOLEDB.Oracle.1;Password=tiger;Persist Security Info=True;User ID=scott;Data Source=数据库
      

  9.   

    在机器上装个ORACLE的CLIENT!!缺少PROVIDER
      

  10.   

    用 MS 的 Ado 控件来试试~  试一下是 Delphi 问题还是 Ado 的驱动问题~  (前提是 客户端与服务端没有问题 :D )
      

  11.   

    怎不行?请描述清楚~用 MS ADO 控件不行,还是在 Delphi 不行?
      

  12.   

    1)在 Delphi 下利用ado建立adoconnect,连接不上
    2)利用udl,也不行的odbc可以的
    是不是ado的问题呢?
      

  13.   

    我也被这个问题折磨s了
    我用odbc直接连接,测试都没问题用ado连接,如下dbConn.ConnectionString = "DSN=odbcqd;UID=user;PWD=pass"
    也是不行
      

  14.   

    我终于找到问题了
    对比了一下我电脑上C:\Program Files\Common Files\System\ado目录和可以正常连接数据库的电脑的该目录下的几个文件,发现我的文件普遍日期过低,于是拷贝替换,终于正常了!
    搂主应该也是这个问题。
    但是我不明白的是使什么原因造成我的ado版本过低的?正常的话要怎样升级呢?
      

  15.   

    我下载了ado 2.8版本,安装以后,可以利用oracle for provider ole db可以连接上了。
    可是,利用microsoft ole db provider for oracle 还是不行,为什么呢?
      

  16.   

    我也下载了2.8试了试,好像没有起啥作用,ado的文件没有被替换啊。不过倒是发现能否连接上数据库的关键就是msado15.dll这个文件,正确版本是2.53.6200.0,修改日期是2003年6月19日。也不知道是干吗的时候装上的。
      

  17.   

    另外,虽然能够连接上了,提示如下问题:
    ora_01861:文字与格式字符串不匹配
    这是怎么回事呢?如何改正呢?:(
      

  18.   

    虽然提示了ora_01861:文字与格式字符串不匹配,可是可以进入系统。
    我想请教大家:
    是不是日期格式有问题?

    安装时字符集有问题?
      

  19.   

    When running an application that connects to Oracle and uses the Authenticated User privilege (such as Microsoft’s Internet Information Server (IIS)) via Oracle’s 9.2 client software and any of these programmatic interfaces      
    1. Oracle Provider for OLE DB     
    2. Microsoft OLE DB Provider for Oracle     
    3. Oracle ODBC Driver     
    4. Microsoft ODBC for Oracle     
    5. Oracle Objects for OLE (OO4O)  you will receive one of the following errors:      (1) Oracle Provider for OLE DB         Error Type:  Microsoft OLE DB Service Components (0x80070005)         Access is denied.      
     (2) Microsoft OLE DB Provider for Oracle          Error Type:  Microsoft OLE DB Provider for Oracle (0x80004005)         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        <I>function</I> until these components are installed.         Or         Error Type:  Microsoft OLE DB Provider for Oracle (0x80004005)                Oracle error occurred, but error message could not be retrieved from        Oracle.      
     (3) Oracle ODBC Driver         Error Type:  Microsoft OLE DB Provider for ODBC Drivers (0x80004005)         Specified driver could not be loaded due to system error 5 (Oracle in        OraHome92).      
     (4) Microsoft ODBC for Oracle         The Oracle(tm) client and networking components were not found.  These        components are supplied by Oracle Corporation and are part of the Oracle         Version 7.3 (or greater) client software installation.         You will be unable to use this driver until these components have been        installed.      
     (5) Oracle Objects for OLE          (a) while using a GLOBAL.ASA file             Error Type:  Active Server Pages (0x0)             An error occurred while creating object ’OraSession’.          (b) not using a GLOBAL.ASA file             Error Type:  Microsoft VB<I>script</I> runtime (0x800A0046)             Permission denied: ’CreateObject’      
     (6) Other miscellaneous errors         (a) The Specified Module Could Not Be Found   Solution De<I>script</I>ion --------------------  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 Authe
      

  20.   

    虽然提示了ora_01861:文字与格式字符串不匹配,可是可以进入系统。
    我想请教大家:
    是不是日期格式有问题?

    安装时字符集有问题?字符集有问题的话如何修改呢?
      

  21.   

    虽然提示了ora_01861:文字与格式字符串不匹配,可是可以进入系统。
    我想请教大家:
    是不是日期格式有问题?

    安装时字符集有问题?日期有问题的话如何修改呢?
      

  22.   

    日期要用toDate()函数转一下才能存进去