ORA-12571: TNS:packet writer failure while calling procedure from VC++

hi all,
i am writing stored procedures and calling these from vc++. I have one stored procedure in that all
in and out perameters are numeric. When i am calling these procedure i am able to get the values properly. But in another procedure one in perameter is varchar and one out perameter is varchar. When i am calling these procedure from vc++ the error i am getting is "ORA-12571: TNS:packet writer failure". I test my vc++ code on different computers but its giving the same errors. I think ora-12571 error is when i can't communicate with oracle. But other stored procedures(in and out perameters are numbers) and sql statements are running properly. Only these stored procedure which has in and out perameters as varchar is giving me the above said problem. My out perameter in this procedure strtax is of type varchar and the length 100. Is it the problem. Please suggest me how to over come this problem.
thanks in advance,
with regards
vali.

hi,
thanks for reply,
I wanna let u know that this is my personal lappy & i have installed apps dump on it in Linux & connect it through VM player in Window environment. I have recently purchased a new Antivirus K7 & installed it on my Lappy. i wanna know does this impact your application or Dbase Bcoz the application is running fine after starting the services in linux.
The only thing is that i am not able access the database through TOAD or SQL*Plus. the same error i am facing in both.
So
shud i uninstall the antivirus on this And this is the only solution to it ?
If yes, then how do i fix it again when i'll reinstall it Bcoz i need Antivirus as well.
kindly suggest.
thanks
D

Similar Messages

  • 'ORA-12571: TNS:packet writer failure' error while calling procedure from VC++

    hi all,
    i am writing stored procedures and calling these from vc++. I have one stored procedure in that all
    in and out perameters are numeric. When i am calling these procedure i am able to get the values properly. But in another procedure one in perameter is varchar and one out perameter is varchar. When i am calling these procedure from vc++ the error i am getting is "ORA-12571: TNS:packet writer failure". I test my vc++ code on different computers but its giving the same errors. I think ora-12571 error is when i can't communicate with oracle. But other stored procedures(in and out perameters are numbers) and sql statements are running properly. Only these stored procedure which has in and out perameters as varchar is giving me the above said problem. My out perameter in this procedure strtax is of type varchar and the length 100. Is it the problem. Please suggest me how to over come this problem.
    thanks in advance,
    with regards
    vali.

    Hi
    We recently changed our load balancer to a new load balancer. we get this error only after the load balancer change.
    When the error occurs, I could see ORA-12571 error message only in the application error log. The listener.log has only the following message about TNS 12502. It does not have any message about ORA -12571.
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2202)) * establish * AppName * 0
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2203)) * establish * AppName * 0
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2204)) * establish * AppName * 0
    12-MAR-2010 12:24:09 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    Thanks
    Ashok

  • ORA-12571-TNS: PACKET WRITER FAILURE

    Hi All,
    am using oracle 6i and facing this problem when am connecting Forms to Database..
    Error Encounterd:ORA-12571-TNS: PACKET WRITER FAILURE.
    Plz help.
    Regards,
    Neha

    this error usually network problem..... i googled it found some solutions try
    his is usually due to an improper sqlnet.ora setting. Here are some possible causes and remedies:
    ** Loose network cables. This error has been observed when there was a loose cable connection to the SCSI disk array (on an Oracle Parallel Server system). Related errors were also subsequently noted in the NT event log.*
    ** IP address conflict (Oracle 9.0.1).*
    ** Authentication services. One solution is to edit the sqlnet.ora file and change the line:*
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    to
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    After saving the updated file, he was able to hit the retry button on the install and the creation of the database succeeded.

  • ORA-12571 TNS PACKET WRITER FAILURE --urgent help required

    I'm facing ORA-12571 TNS PACKET WRITER FAILURE error
    Platform is windows 2000/ tomcat / appache server / oracle 8.1.7
    This is not frequently happening. When the load increases, I'm facing this error? What type of parameters should I concentrate.
    DB is running on MTS.
    It is urgent.
    Could anyone throw some light on it?

    This question probably best belongs on the General database forum.

  • 12571 - ORA-12571: TNS:packet writer failure Failed SQL stmt

    hi, sir,
       My script work successfully and when i am try to script mover software every thing done fine but at the end i face this(12571 - ORA-12571: TNS:packet writer failure Failed SQL stmt) error. so I read few article they told about this is antivirus issue, so please tell me, can i re-run the script mover or not.
    Samiullah

    Hi Neeraj,
    This is My Listerner file
    # listener.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    HRCS9 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.2.204)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_HRCS9 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
          (PROGRAM = extproc)
    This is my tns file
    # tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    HRCS9 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.2.204)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = HRCS9)
    both file working good and ping
    Samiullah

  • Help - Newbie - getting "ORA-12571: TNS: packet writer failure" ERROR

    Hi all,
    Not sure where to post this, so trying for the general forum to start...
    I have also searched and read all the forums for help on this already as well the Oracle documentation and anything I could find from several on-line searches, etc.
    I have Oracle 8i Enterprise Edition and Oracle Forms 6i installed on Win2K. Everything worked fine when it was just Oracle 8i running, ie: connecting to the database in SQLPlus Worksheet, but when I try and connect to the database in the datablock wizard in forms I get the ORA-12571: TNS: packet writer failure error!
    Don't tell me to re-install, I've done that like 6 times already. I've check the tnsnames.ora files and tried that fix already. I don't know what else to try short of fdisk and redoing everything from scratch again, but I don't have time for that as this machine is used daily for other tasks.
    Any help or suggestions are appreciated!!!
    Thx in advance!
    Michelle.
    PS: Note to Oracle support staff if you are listening (pardon the pun). Your one line of help for ORA-12571 in the existing support files is rather similar to the Hitchhikers Guide to the Galaxy's info for Earth... After seeing how many people have posted about this problem and how few resources or real answers there are out there, you might want to consider updating the info on this error, because is deserves something more than "mostly harmless"!

    This question probably best belongs on the General database forum.

  • Ora-12571 TNS:packet write failure

    Hi all
    I installed Oracle 10g database, and after that Oracle 6i FORMS
    Then suddenly I began getting error Ora-12571
    I uninstalled 10g database, then uninstalled FORMS and installed forms once more, but there still error
    What may be the reason and how can I solve it?
    Thanks...

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/net12500.htm#sthref3508
    Apart from that is there any specific need to use 6i forms? Why not Oracle Forms 10g?
    http://www.oracle.com/technology/products/forms/index.html
    Adith

  • ORA-12571 TNS : Packet Writter Failure

    Hi all,
    When I try to connect the DBA Studio (in the WIN 2000 SP 3), client of Oracle , the error message is
    "ORA-12571 : TNS : Packet writer failure."
    But in the TNSNAME.ORA file is working fine. meaning SQL*Plus and other Oracle client can connect.
    Only the GUI application(like DBA Studio,enterprise manager) are giving this error.
    How can I solve this ploblem?
    Thanks.

    yes I few more tnsnames.ora file other directory for other version and application.
    For this same version HOME directory, only one file is there.
    so, SQL*Plus is connecting by using this file , but not for GUI applications.(DBA studio,Enterprise manager)

  • TNS-12571:TNS PACKET WRITER FAILURE

    Hello Oracle Gurus,
    Our Oracle 9i database is hosted somewhere else and is behind the firewall. When accessing this database through TOAD, even after 2 minutes of inactivity, we get the "TNS-12571: TNS Packet writer failure" and we have to reconnect to the database again. This occurs in all of the client machines. The Oracle 9i database's firewall is open for the ip address from which we are using TOAD/SQL*Plus.
    Is there any configuration that needs to be changed on the Oracle Client or server side to solve this issue? I appreciate your help.
    Thanks,
    Saku

    Hi,
    you can set sqlnet_expire_time option in sqlnet.ora file on the database server and set the time less than 2 mins. This to identify if the problem is because of some firewall configuration or other network related issue which causes the onnection to die.
    this parameter should keep all the client connection alive but results in extra trafic.

  • ORA-12571 TNS Packed write failure

    I have a problem when I install Oracle 8i client in all workstation. I'm try connect to server through of sqplplus or any programs that use oracle and have this error "ORA-12571 TNS Packed Write failure". I'm install oracle client in DELL Optiplex GX620.
    Thanks for advance....
    Daniel

    12571, 00000, "TNS:packet writer failure"
    // *Cause: An error occurred during a data send.
    // *Action: Not normally visible to the user. For further details, turn
    // on tracing and reexecute the operation. If error persists, contact
    // Oracle Customer Support.What's in the trace files?
    Yoann.

  • ORA 012571 TNS Packet Writer Failure ... ???

    I have installed the Designer 6i and when I attempt to login to the designer application, I am stopped by the error ORA 012571 TNS Packet Writer Failure.
    I have no idea what is causing this error, and therefore can't use the product.
    Looking for any/all help
    Darrell K.

    This is from documentation:
    TNS-12571 TNS:packet writer failure
    Cause: An error occurred during a data send. This message is not normally visible to the user.
    Action: For further details, turn on tracing and re-execute the operation. If the error persists, contact Oracle Customer Support
    Maybe this will be a little help for you.
    Helena

  • ORA-12571 TNS: packet Writer Filure

    Hi Yogi,
    tHANK YOU FOR YOUR REPLY.
    I have reinstalled Oracle 8i again..
    Starting Oracle DBA studio I am getting folowing error:
    ORA 12571 tns: PACKET WRITER FALIURE
    PLEASE ADVISE..
    THANK YOU in advance..
    Rajiv

    This question probably best belongs on the General database forum.

  • Urgent - ORA 12571 tns: PACKET WRITER FALIURE  - Windows XP

    Hi,
    Can anyone help me ?? I have installed Oracle 8i under Windows XP and I am getting the above error. While connecting thru JDeveloper It is giving Network Adapter error.
    Reply Appriciable.
    Thanks in Advance.
    Rajiv

    How did you uninstall Oracle? You cannot use the Oracle Installer to remove Oracle. To completely remove Oracle from a Windows system you must edit the registry and several other steps. If you need these procedures, send me an e-mail: [email protected]

  • ORA-12571 : TNS packet writer failer

    Hello, First, I'm french so my english isn't very good.
    I try to update Oracle 8.1.7 database installed on Linux by using ORAOLEDB.Oracle provider & ADO in VB Application.
    In some case, I have the error in the subject of mail.
    The difference on update work or update fail change with the number of columns updated.
    These columns are not specifics : varchar2(255).
    I don't see where is the problem.
    Thnak You for all idea.

    This question probably best belongs on the General database forum.

  • Message: ORA-12570: TNS:packet reader failure

    Hi,
    when i execute the below program,getting "Message: ORA-12570: TNS:packet reader failure" error. java version is 1.3.1 and oracle
    version is :9.1.
    able to connect to database using sql plus with the same user-id and
    password.
    Any help in this regard is appreciated.
    Thanks
    Chat
    import java.sql.*;
    import java.io.*;
    import java.util.Date;
    class JdbcTest
      public static void main (String args [])
        System.out.println ("Loading Oracle driver");
        try
          Class.forName ("oracle.jdbc.OracleDriver");
         System.out.println ("Connecting to the local database");
        Connection conn =
          DriverManager.getConnection("jdbc:oracle:oci8:@orcl,scott,tiger");
        System.out.println("debug 1 ....\n");
        Statement stmt = conn.createStatement ();
        System.out.println("debug 2 ....\n");
        // Query the employee names
        ResultSet rset = stmt.executeQuery ("select ename from emp");
        while (rset.next ())
          // Print the name out
          System.out.println (rset.getString (1));
      } catch (ClassNotFoundException cnfe){
          System.out.println ("Could not load the driver");
          cnfe.printStackTrace ();
      } catch (SQLException sqle) {
              System.out.println( "State  : " + sqle.getSQLState()  ) ;
               System.out.println( "Message: " + sqle.getMessage()   ) ;
               System.out.println( "Error  : " + sqle.getErrorCode() ) ;
      } catch (Exception e) {
          System.out.println ("Could not load the driver");
          e.printStackTrace ();
    C:\mjava>java JdbcTest
    Loading Oracle driver
    Connecting to the local database
    State  : 66000
    Message: ORA-12570: TNS:packet reader failure
    Error  : 12570
    C:\mjava>

    Hi Chat,
    You are using the oci8 driver and you may or may not be aware that oci8 is a type 3 driver that requires that the Oracle client be installed on the computer that is running the Java program. It also requires that you setup Oracle networking correctly, usually by putting an entry into your Oracle tnsnames.ora file.
    If there is no reason in particular that you are using the oci8 driver, then you should use the thin driver instead. The thin driver is a type 4 driver and does not require the Oracle client to be installed, and does not require configuration of Oracle networking. You do have to download the Oracle JDBC drivers from the Oracle website to the computer you are going to run your program on, and then place the oracle .jar files that contain the driver into the programs CLASSPATH. This can be done by setting an environment variable or by passing it to java.exe as a command line parameter. The url for the thin driver looks something like this, but you should check the Oracle doc for specifics or search this forum for more examples:
    jdbc:oracle:thin:@myserver:1521:mydatabaseWhen using a type 3 driver you should verify that you have Oracle networking properly configured for the computer that will be running your Java program by either connecting to the database using SQL/Plus or 'ping' the database using Oracle's tnsping utility. Make sure you check for valid connectivity before trying to run your Java program.

Maybe you are looking for

  • I have problems with firewall and sync my iPhone with iTunes through wi-fi connection.

    My iTunes can't find the iPhone when the firewall is turn on. I tried to permit the apples applications in the firewall but nothing happens. My computer and iPhone are on the same wi-fi network. When I turn off my firewall, I can see my iPhone in iTu

  • Internal Table ! Accessing Issue!

    Hello Guys!    Internal table    Sorted, Hashed, Standard For accesing itab uses,    Standard---> uses Linear Search    Sorted ---> Binary Search    Hashed-----> Hash Algorithm    Can u pls tell me what is linear search, binary search, hash algorithm

  • Why its showing error : Invalid Object Name 'table name' when we try to insert data ?

    Hi,     When i try to insert data in the database with the following query                 con.Open();                 cmd = new SqlCommand("insert into good(ID,Name) values('" + textBox1.Text + "','" + textBox2.Text + "')", con);                 cmd

  • Wie kann ich in einer PDF-Datei Serienbriefe erstellen?

    Wie kann ich in einer PDF-Datei Serienbriefe erstellen? Ich habe eine PDF-Gutscheinvorlage und 150 unterschiedliche Gutscheincodes in einer Excel-Datei. Diese möchte ich wie in einem Word-Serienbrief, jeden Code extra in einer PDF-Gutscheinvorlage ei

  • I want to understand when it is beneficial to reanalyze motion

    I want to stabilize/smooth some clips. I know that any time I push Movement: Analyze, Motion will happily chug away and reanalyze the clip. This can take minutes or hours, depending on the size of the clip. My question, when is it beneficial to do so