1、建议用oracle的oledb
2、检查对比vb的连接字符串和asp中的连接字符串,进行互换测试比较。

解决方案 »

  1.   

    首先下载一个驱动:
    http://otn.oracle.com/software/tech/windows/ole/content.html
    连接方法:
    http://www.pep.com.cn/200212/ca3007.htm
      

  2.   

    若用oledb,查看是否与驱动有关
    http://otn.oracle.com/software/tech/windows/ole_db/content.html
      

  3.   

    我从oracle网站重新下载了一个安装程序,安装完毕后,程序完全没改,连接成功!!!
    但用相同的安装程序在另一台计算机上安装,仍然出现相同问题。
      

  4.   

    to: wl3721
    连接字符串没有问题-----------connectionstring:
    Provider=OraOLEDB.Oracle; Data Source=ORACLE; User Id=sinodigital;Password=aaaaa;
    ------------err.description:
    Provider cannot be found. It may not be properly installed.
    -----------connectionstring:
    Provider=MSDAORA.1;Password=aaaaa;User ID=sinodigital;Data Source=oracle;Persist Security Info=True
    ------------err.description:
    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.-----------connectionstring:
    DSN=dl;UID=sinodigital;PWD=aaaaa;SERVER=oracle;
    ------------err.description:
    [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
      

  5.   

    连一台机是否存在oracle client
      

  6.   

    问题解决了!!
    oracle9.2与ntfs分区有bug存在。
    在windows2000中,可以在格式化为使用 NTFS 的驱动器上设置文件和文件夹权限。
    具体操作为属性--》安全,一共有三个组,administrators,authenticated users,system,造成问题的就是第二个。权限有完全控制、修改、读取及运行等。
    ora92的文件夹属性中,authenticated users显示出有读取及运行权限,但是实际上该权限并未赋上,如果没有该权限,asp文件创建数据库连接时,系统无法访问ora92目录,所以就会提示出错误,就这么简单。
    下面是解决办法:在web服务器的oracle安装目录下,选择ora92文件夹的属性,将authenticated user的读取及运行权限的允许--不选中--,点击确定,可能有点慢,操作完成后,重新上面的操作,这次是将读取及运行权限选中,点击确定,操作执行成功后,就可以在asp中使用ado访问oracle9.2了。
    我在网上搜索的时候发现有人说9.0也有这个问题哟。