TNS-12505 TNS:listener could not resolve SID given in connect descriptorCause: The SID in CONNECT_DATA was not found in the listener's tables.Action: Check to make sure that the SID specified is correct. The SIDs that are currently registered with the listener can be obtained by typing "LSNRCTL SERVICES listener_name". These SIDs correspond to SID_NAMEs in TNSNAMES.ORA, or DB_NAMES in the INIT.ORA file.1、查看oracle实例是否已经启动。查看方式:在系统的“服务”中查看
oracle8iOracleServiceXXX服务是否已经启动,tnslistener服务是否已经启动。
2、如果都已启动,用net8 configuration assistant重新配置服务名