能ping通的网络服务名
C:UsersArcerZhang>tnsping orcl199 TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 25-7月 -2014 11:36:58 Copyright (c) 1997, 2010, Oracle. All rights reserved. 已使用的参数文件: d:appArcerZhangproduct11.2.0dbhome_1 etworkadminsqlnet.ora 已使用 TNSNAMES 适配器来解析别名 尝试连接 (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.199)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ORCL))) OK (30 毫秒)
不能ping通的网络服务名
C:UsersArcerZhang>tnsping orcl100 TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 25-7月 -2014 11:37:16 Copyright (c) 1997, 2010, Oracle. All rights reserved. 已使用的参数文件: d:appArcerZhangproduct11.2.0dbhome_1 etworkadminsqlnet.ora TNS-03505: 无法解析名称