Paul12345671
Technical User
Hello,
I'm trying to connect to an Oracle 9i server using Excel 2003 (running on Windows XP).
I click on Data -> Import External Data -> Import Data, then double-click '+Connect to New Data Source.odc'. I choose Oracle, then I'm presented with a dialog box requesting a Server name and username/password.
When I'm connecting to a test database on my local pc, I have no problem. However, when the oracle database is on a server on another machine, I get an error saying ORA=12154: TNS:could not resolve service name.
I'm assuming that I have not entered the server name in the correct format. I've tried entering <ipnumber>:1521:<databasename>, and all sorts of variations. When connecting to my local database, I just entered the SID, without the IP number. However, to connect to a server, I think that I must enter the IP number somehow.
I can connect to the remote oracle database using Crystal Reports, so I'm assuming that my Excel problem is caused by entering the server name in the wrong format. Can anyone assist?
Thank you.
I'm trying to connect to an Oracle 9i server using Excel 2003 (running on Windows XP).
I click on Data -> Import External Data -> Import Data, then double-click '+Connect to New Data Source.odc'. I choose Oracle, then I'm presented with a dialog box requesting a Server name and username/password.
When I'm connecting to a test database on my local pc, I have no problem. However, when the oracle database is on a server on another machine, I get an error saying ORA=12154: TNS:could not resolve service name.
I'm assuming that I have not entered the server name in the correct format. I've tried entering <ipnumber>:1521:<databasename>, and all sorts of variations. When connecting to my local database, I just entered the SID, without the IP number. However, to connect to a server, I think that I must enter the IP number somehow.
I can connect to the remote oracle database using Crystal Reports, so I'm assuming that my Excel problem is caused by entering the server name in the wrong format. Can anyone assist?
Thank you.