ORA-12560: TNS protocol adapter error in oracle 8i - Page 2
DBAsupport.com Forums - Powered by vBulletin
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: ORA-12560: TNS protocol adapter error in oracle 8i

  1. #11
    Join Date
    Dec 2001
    Location
    Slovenia, Kranj
    Posts
    82
    But in 10g you can still have ORA errors. What should you do then? Maybe install MS SQL server? (no ORA errors ther)

  2. #12
    Join Date
    Sep 2005
    Posts
    12
    Hello

    i do not have sqlnet.ora filed created ...i.e. in the folder(i.e admin folder) where tnsnames.ora , listener.ora and names.ora is present, there is no sqlnet.ora file over there...only its sample is present in the "sample" folder..so how can i create sqlnet.ora file????

    nitin

  3. #13
    Join Date
    Dec 2001
    Location
    Slovenia, Kranj
    Posts
    82
    Create new text document and name it sqlnet.ora

    Put in following lines

    NAMES.DEFAULT_DOMAIN = WORLD
    NAMES.DIRECTORY_PATH= (ONAMES,TNSNAMES,HOSTNAME)
    SQLNET.AUTHENTICATION_SERVICES= (NONE)

    Then restart.

  4. #14
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,333
    dont need an sqlnet.ora at all, just make sur eyour tnsnames.ora file is ok

  5. #15
    Join Date
    Sep 2005
    Posts
    12
    Hello

    I am working in Pro*C ...and when i try to make 'exe' of the program (in Visual C++)it displays me the following error:-

    Performing Custom Build Step on .\student2_26sep.pc
    Pro*C/C++: Release 8.1.5.0.0 - Production on Mon Sep 26 19:34:15 2005
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    System default option values taken from: e:\Oracle\Ora8i\precomp\admin\pcscfg.cfg
    PCC-F-02041, CMD-LINE: Option does not exist: .\student2_26sep.pcinclude
    Error executing c:\windows\system32\cmd.exe.

    (student2_26sep.pc is the name of the file which contains original code written by me)
    what should i do to remove this error???? i am working in WIN 32 console application in Visual C++ and in project settings,under 'custom build' option,i have included following in the 'commands' portion:-

    $(ProjDir)\..\..\..\..\bin\proc$(ProjDir)\$(InputName).pcinclude=$(ProjDir)\..\..includeinclude="$(MSDEVDIR)\..\vc\include"

    and in 'output' section , i have included:-

    $(ProjDir)\$(InputName).c

    and i want to precompile *.pc into *.C , for which i try to make 'exe'...at this stage it displays me the above mentioned 'PCC-f-02041' error.

    please tell me as to wat to do????thanx for concern of all of u till now.

    Nitin
    Last edited by nitin garg; 09-26-2005 at 10:12 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width