Provider=MSDAORA.1;Password=a;User ID=a;Data Source=dbsvrData Source=服务器名,试试

解决方案 »

  1.   

    确密码,--password:
    CString strConnection="Provider=OraOLEDB.Oracle.1;Persist Security Info=False;User ID=lxk;Data Source=lxko Password=583133";
      

  2.   

    我看了上面的连接字符串!都是可以的!不能连接时,问题不一定出在连接字符串上!可能是RS没有设置好!根据要求,要对rs.LockType,rs.CursorType,rs.CursorLocation进行设置!一般为rs.LockType = adLockOptimistic    rs.CursorType = adOpenKeyset    rs.CursorLocation = adUseClient
      

  3.   

    http://www.able-consulting.com/ADO_Conn.htm比较全