|
Ok, The instuctions i followed precisely matched with those posted here by Adam, except that some of my folder names are named differently (the names still match in the environmental variables values) http://forum.manifold.net/forum/t37255.39 Here's the excerpt, its a long thread Well, let's try one more time: 0. Uninstall all instances of Oracle. Do a clean reboot. 1. Download Oracle Instant Client (Basic / OCI) from this Oracle URL. 2. Create a new local folder, eg, C:\Oracle. Copy all files from the downloaded archive into that folder (so that the path to Oci.dll is C:\Oracle\Oci.dll). 3. Add the path to the created folder to the system PATH variable. 4. Delete all user and system environment variables named TNS_ADMIN. Add a system environment variable named TNS_ADMIN and point it to the created folder. 5. In the created folder, create a text file named TNSNAMES.ORA and populate it with connection data using the template below. localservice is the name you will use to refer to the connection on the connecting machine, server is the name or IP address of the database machine (if you are running Oracle on the local machine, use "127.0.0.1" or "localhost"), remoteservice is the name of the instance of Oracle on the database machine (if you have Oracle XE, use "XE"). localservice = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = remoteservice)) ) Restart Manifold. Try to connect to "localservice" or whatever name you used for that. Does it work?
But, I'm still getting this error from the database console: "Can't establish connection to data source" I'm trying to connect using the Oracle Data source, I'm running 32bit Manifold on Server 2003. I can connect to the oracle database using both sqlplus and sql developer (which is using the environmental variables, so at least something is right). Here are the environmental variables and values I use: Path C:\Python25\;E:\oracle;C:\Program Files\Windows Resource Kits\Tools\;C:\Program Files\Support Tools\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; E:\oracle\bin TNS_ADMIN E:\oracle\network\admin SQL_PATH E:\oracle The E:\oracle\bin folder has the oci.dll The network/admin folder has the tnsnames.ora file in it, and both sql developer and sqlplus can connect , so I assume the connection information is correct. The sql_path variable was created because of a suggestion on configuring sqldeveloper for use with instant client Any ideas?
|