猜测:是不是password的位置不对?
应该写成"DSN=testora;persist security info=True;user id=******;password=******;"另外为什么大家都不用Oracle Objects for OLE ,这个不比odbc好用吗?

解决方案 »

  1.   

    我试了试,变换位置后不行。但我把password变成pwd后就可以了。但我的服务程序是对多种数据库的,原来的对sybase可以。如果改成pwd后不知sybase行不行,可惜现在旁边无sybase环境。
    另:
    我查了查oracle odbc help。里面说的keywords是UID和PWD但我只改了PWD就行了。难道uesr id在oracle中也可以吗?疑惑中————
      

  2.   

    install Oracle Client first
    create Oracle service name
    ConnectionString: Server=Oracle Service Name;Uid=;pwd=
    try it.
    Not use ODBC.