Keyin99 -<br><br>Here is a portion of a rather lengthy note I found regarding 12203. I just pulled the Windows chapter for you. Hopefully the answer is in here somewhere!!<br><br><br>Windows95 Windows98 Windows NT:<br><br>When troubleshooting ORA/TNS-12203 errors on Windows 95, 98, or NT, it will be <br>helpful to have a copy of the TNSNAMES.ORA file located in front of you. This <br>file is normally located in the ORACLE_HOME\NETWORK\ADMIN directory (or NET80\ADMIN).<br>If the file is not there, go to Chapter 6.<br><br>2-1. Go to, or log on to, the server where Oracle resides. <br> If you have a Windows NT server, go to section 2-2. <br> If you have a Unix server, go to section 2-3.<br><br>2-2. Open a DOS window and type 'ipconfig' at the operating system prompt.<br>Your DOS window will show information similar to the following:<br>+-----------------------------------------------------------------------+<br>¦ Command Prompt [_][-][X] ¦<br>+-----------------------------------------------------------------------+<br>¦ Microsoft(R) Windows NT(TM) ¦<br>¦ (C) Copyright 1985-1996 Microsoft Corp. ¦<br>¦ ¦<br>¦ C:\>ipconfig ¦<br>¦ ¦<br>¦ Windows NT IP Configuration ¦<br>¦ ¦<br>¦ Ethernet adapter El90x1: ¦<br>¦ ¦<br>¦ IP Address. . . . . . . . . : 138.2.121.221 ¦<br>¦ Subnet Mask . . . . . . . . : 255.255.255.0 ¦<br>¦ Default Gateway . . . . . . : 138.2.121.1 ¦<br>¦ ¦<br>¦ C:\> _ ¦<br>+-----------------------------------------------------------------------+<br><br>Write down, or note in the space provided, the 'IP Address' given.<br> -IP Address = ____.____.____.____<br><br>I'll be referring to this address throughout the paper. Continue to section<br>2-4.<br><br>2-3. At the operating system prompt, type 'hostname' and then grep for the <br>hostname in the /etc/hosts file. A sample screen shot will look like this:<br><br>+---------- ---------------+<br>¦ ¦<br>¦ [otcsol1]/u06/home/nsupport> hostname ¦<br>¦ otcsol1 ¦<br>¦ [otcsol1]/u06/home/nsupport> grep otcsol1 /etc/hosts ¦<br>¦ 138.2.158.34 otcsol1 loghost ¦<br>¦ [otcsol1]/u06/home/nsupport> ¦<br>¦ ¦<br>+-------------------------------------------------------------+<br><br>Write down, or note in the space provided, the IP Address given.<br> -IP Address = ____.____.____.____<br><br><br>You will be referring to this address throughout the paper. Please go to section<br>2-4.<br><br>2-4. Open your listener.ora file in a text editor. If you do not have a <br>listener.ora, skip to Chapter 6. What you are going to do will not be permanent, <br>but has to be done to resolve this error.<br>Replace the HOST name with the IP address in your TCP address block. For <br>example, if your listener.ora file resembles the following:<br><br>listener=<br> (address_list=<br> (address=<br> (protocol=ipc)<br> (key = dev1)<br>  

<br> (address=<br> (protocol=tcp)<br> (host=otcsol1)<br> (port=1521)<br>  

<br>  

<br>startup_wait_time_listener=0<br>conect_timeout_listener=10<br>sid_list_listener=<br> (sid_list=<br> (sid_desc=<br> (sid_name = ORCL)<br> (oracle_home = /usr/product/oracle/7.3.4)<br>  

<br> 

<br><br>... then you want to change your listener.ora file to look like this (notice<br>the change in 'host'):<br>listener=<br> (address_list=<br> (address=<br> (protocol=ipc)<br> (key = dev1)<br>  

<br> (address=<br> (protocol=tcp)<br> (host=138.2.158.34)<br> (port=1521)<br>  

<br>  

<br>startup_wait_time_listener=0<br>conect_timeout_listener=10<br>sid_list_listener=<br> (sid_list=<br> (sid_desc=<br> (sid_name = ORCL)<br> (oracle_home = /usr/product/oracle/7.3.4)<br>  

<br> 

<br><br><br>If you are already using the IP address, and it matches the IP address you<br>found earlier, go to section 2-5. If not, make the change and save the<br>listener.ora file. Continue to section 2-5.<br><br>2-5. At the command prompt, restart the listener by typing 'lsnrctl stop' (if<br>you are on Windows NT running Oracle 8, type 'lsnrctl80 stop') followed by the command <br>'lsnrctl start' stop' (if you are on Windows NT running Oracle 8, type 'lsnrctl80 <br>start').<br><br>2-6. On the client, go to the command prompt and type 'ping <IP address>' <br>using the IP address of server you found earlier in this chapter. For example:<br><br>> ping 138.2.158.34<br><br>You should get some response back stating that the ping was successful or<br>that the server is alive. If this is the case, continue to section 2-7. If<br>you get any errors, or messages stating that there was a timeout problem, or<br>that the host was unreachable, or the IP address was bad, contact your<br>network administrator and find out why you can't ping the server. This is<br>cause of your TNS-12203 error.<br><br>2-7. You have verified that you can physically contact the server and that the <br>listener is running. The next thing to do is verify the correctness of the<br>TNSNAMES.ORA file. Locate the TNSNAMES.ORA file. This file is usually in the <br>ORACLE_HOME\network\admin (or net80\admin) directory. Open the file in a text <br>editor. Make sure the HOST parameter for the alias you are trying to connect<br>with is set to the IP address of the server - rather than using the host name.<br>You also need to make sure the value of the PORT parameter in the tnsnames.ora<br>file matches the value of the PORT parameter in the listener.ora file. After<br>you've verified these two items, try a connection. If the connection still<br>fails, continue to section 2-8.<br><br>2-8. A lot of times, a person will unknowingly use an application designed for <br>SQLNet 2.3, but only have Net8 installed or vice versa. For example, if you <br>are executing PLUS33W.EXE, then make sure the TNSNAMES.ORA file is in the <br>network\admin directory. If you are using PLUS80W.EXE, make sure the <br>tnsnames.ora file is in the net80\admin directory. If you have a 3rd party <br>application and are not sure which directory the configuration files go in, <br>just place the tnsnames.ora file and sqlnet.ora file in both the network and <br>net80\admin directories. <br><br>2-9. We need to verify the file size of your WSOCK32.DLL. This DLL is the 32 <br>bit Winsock driver for the operating system. Use the table below to determine <br>if you are using the correct file:<br><br>Filename OS Location Size<br>------------+-------+---------------------------+--------------------<br>wsock32.dll Win98 \windows\system 40k (40,960 bytes)<br>wsock32.dll Win95 \windows 65k (66,560 bytes)<br>wsock32.dll WinNT \winnt\system32 20k (20,240 bytes)<br><br>If your wsock32.dll does not match the appropriate file as listed above,<br>then reinstall your operating system's TCP/IP stack. If your DLLs are okay, <br>continue to section 2-10.<br><br>2-10. There may be a syntactical problem with with the configuration files.<br>Please check the syntax as described in Chapter 6.<br><br><br><br>