I get the ORA 12154 error on one machine...
Running the script gives the error, it's attempting to connect using
TNS names has:
and a tnsping works:
The ping result suggests to me that the TNS is working correctly. It found the service name and host/port.
I am not using an existing data source, rather a dns-less process refering to the ODBC driver. This works on other machines.
The problem exists if I log on this PC as me or the user who has the problem. Both working and this machine have MS Windows 2000 (But this has SP2 and I have SP4) and Excel 2000 (9.0.4402 SR-1).
I will update to SP4... but in the meantime..
Does anyone have any ideas, please?
thanks
Applications Support
UK
Running the script gives the error, it's attempting to connect using
Code:
connStr = "Driver={Microsoft ODBC for Oracle}; Server=IFSL; UID=username; PWD=lalala"
TNS names has:
Code:
IFSL.KEYMED.LOCAL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.56.4.10)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = IFSL)
)
)
and a tnsping works:
H:\>tnsping ifsl
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 12-OCT-20
04 10:05:10
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
c:\oracle\ora92\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 10.56.4.10)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = IFSL)))
OK (190 msec)
The ping result suggests to me that the TNS is working correctly. It found the service name and host/port.
I am not using an existing data source, rather a dns-less process refering to the ODBC driver. This works on other machines.
The problem exists if I log on this PC as me or the user who has the problem. Both working and this machine have MS Windows 2000 (But this has SP2 and I have SP4) and Excel 2000 (9.0.4402 SR-1).
I will update to SP4... but in the meantime..
Does anyone have any ideas, please?
thanks
Applications Support
UK