ORACLE服务器先装的8,然后改为9,但是8没有删除干净。但是数据库连接没有一点错误。
我用DELPHI的ADO写了 一个数据库连接程序,出现错误。在SQLNET.LOG中的错误记录如下:***********************************************************************
Fatal NI connect error 12560, connecting to:
 (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=D:\Temp\发布程序\testpjr.exe)(HOST=GIS-ORACLE)(USER=Administrator))))  VERSION INFORMATION:
TNS for 32-bit Windows: Version 8.1.7.0.0 - Production
Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.1.7.0.0 - Production
  Time: 10-APR-2003 09:56:46
  Tracing not turned on.
  Tns error struct:
    nr err code: 0
    ns main err code: 12560
    TNS-12560: Message 12560 not found; No message file for product=NETWORK, facility=TNS
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Message 530 not found; No message file for product=NETWORK, facility=TNS
    nt secondary err code: 2
    nt OS err code: 0显然程序没有连接ORACLE9,而是试图连接ORACLE8(已经不存在),该如何解决呢?我很急啊!!