How to create tns entry

hi member
i have installled oracle 9i database and 10 g forms at my system in different drives of computer . but when i try to connect my forms with database i could not create connection between tables and forms.the error which displayed as tns could not resolve connection identifer i provide same username and password when it ask for database connection so plz help me in this regard .......thanks in advance

Database Connecting string can be your DB Name or Net Service name.
For example, in my tnsnames.ora, I have the following tns entries.
TESTDB=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = XXX.XXX.XXX.XXX)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TESTDB)
In the above entry, first line is the database connecting string i.e. TESTDB.
First you need to try connecting to sqlplus for successful connection.
C:\> tnsping testdb
If you see the success message means you can easily connect to the Database.
C:\> sqlplus scott/tiger@testdb
Here your scott user will be connected to the TESTDB database.
Regards,
Sabdar Syed.
http://sabdarsyed.blogspot.com

Similar Messages

  • How to create TNS entry for db2 database?

    hi,
    I want to create a db2 database tns entry in tnsname.ora file. How do i create?
    thanks

    There seem to be several related threads about this concern.
    Creating dblink for db2 database
    How to create TNS entry for db2 database?
    How to create TNS entry for db2 database?

  • Plz tell ...its urgent......how to create TNS...

    i want to create TNS for my connection
    plz tell me how to create TNS
    and where to find "Oracle Net Configuration Assistant"
    and also send me the connectionstring assuming tht i wil use" emp" as table name
    i want to conect oracle 9i with ASP.NET 2.0
    plz send me
    thanks in advance
    chintan

    Hi
    Below is the sample entry in tnsnames.ora
    serviceid := Name of Database service
    TNS_NAME.HOST_NAME =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = perf643)(PORT = 1521))
    (CONNECT_DATA =
    (SID = serviceid)
    (SERVER = DEDICATED)
    Thanks,
    Kuldeep

  • How to create an entry in Badi Filter table T77HAP_FLT_PRP

    How to create an entry in Badi Filter table T77HAP_FLT_PRP

    Hello Rahul,
    Filter types should be created on badi implementations ( in transaction se19 )
    Read my answer on this thread :
    Re: BADI:Filter type un editable
    I hope it helps.
    Bulent

  • How to create an entry TVARVC

    hi how to create an entry...in TVARVC  for a variable...

    is it possible just go to  TVARVC
    utilities----> table contents-> creat entries.
    just check with this .
    Thanks

  • How to add tns entry in names server

    Hi,
    Can anyone tell us, How to add tns entry in names server
    Thanks

    In the Net Manager utility, in the left-hand pane left click Oracle Names Servers, left click on your nameserver.
    Click the "+" button in the upper left, that should be enough to get you started- sorry, all our 9i installs have gone away, can't exactly recall the nix X gui version of client program, but I think* its netmgr, should be in OH/bin.
    If you're running a java OEM console that cames with 9i clients, Net Manager is available on that little Butler tab.
    And for the command line version, running the namesctl utility- you can save a tns entry with the connect string and run it in a file, just like sqlplus, with an @filename:
    vi newtns.txt
    register newtns -d (DESCRIPTION=(ADDRESS_LIST=...(SERVICE_NAME=NEWTNS.MYCO)))
    $ namesctl
    @newtns.txt
    query newtns *
    reload -- nameserver sync
    query newtns *
    exit
    $ Edited by: clcarter on Jul 7, 2011 3:26 PM
    added cmdline version

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • How to create Infotype entry in table T777D

    Hi All,
    We have undergone Upgrade from 4.6C to ECC 6.0.
    Now we get an error while maintaining certain data infotype 0122 does not exists.
    I looked at the entries in table T777D in both the system. In older system the entry is there but not in the new system.
    When i tried creating the entry in this table the error comes 'Module pool program MP012200 is not present'. This program was there in 4.6C but is not there in ECC 6.0.
    How do we genrate this program or how do we create the entry for this infotype to correct the error.
    Is there any customizing settings that is required?
    Please advice.
    Regards,
    Vidya.

    Look at OSS [Note 546167 - Termination in PA10: Infotype 0122 does not exist|https://service.sap.com/sap/support/notes/546167]
    >Symptom
    >
    >When you edit the master data (transaction PA10) after you upgrade Release 4.6C to Release 4.70 or higher, a termination occurs and an error message is issued informing you that infotype 0122 does not exist.
    >
    >Other terms
    >
    >No entry in table T777D
    >
    >Solution
    >
    >In the 'Infotype attributes (Customizing)' view (extended table maintenance for view V_T582A), delete the entry for infotype 0122.
    >In the 'Infotypes - country-specific settings' view (extended table maintenance for view V_T582L), delete the entry for infotype 0122.
    Regards

  • How to create monitor entries from an update routine?

    Hi,
    Does anyone try to create monitor entries in ABAP routine in update rules?
    I have How-to guide "How to... Create monitor entries from an update routine". I applied code from it.
    RETURNCODE = 1.
    MONITOR-MSGID = 'RSM'.
    MONITOR-MSGTY = 'W'. *** I also tried MONITOR-MSGTY = 'E'
    MONITOR-MSGNO = '799'.
    MONITOR-MSGV1 = 'My message '.
    MONITOR-MSGV2 = COMM_STRUCTURE-<MY_FIELD>.
    append MONITOR.
    EXIT.
    But it doesn't work. I don't see new lines on Details tab in AWB Monitor.
    What's wrong?
    BW 3.0B

    Hi, hope you had a good weekend.
    I tried with MSGTY = 'I' and I didn't get any errors or warnings at load.
    In the monitor, on the detail tab, I find hidden under:
    Processing (data packet)
    -> Data Package x
       -> Transfer rules
          -> Data records for package x
             -> Record 0:
             -> Record 0:
             -> Record 0:
    When I select "Display Message(s)" from the dropdown-menu on one of these "Record 0:" lines, I get to see
    my message text: S:RSM:000 test1 test2
    1) how can I change the text that appears in the monitor tree ("Record 0:") ?
    2) The status of these nodes is always a green led (also with MSGTY = 'W')... shouldn't it be a yellow triangle?
    Like this it is hell to find your warnings/information messages.
    3) I cannot find my monitor messages with transaction SLG1... should I be able to find them there?
    Kind regards,
    Edwin

  • How to manage TNS entry in the OID ?

    Hello,
    We are in our way to implement OID to replace multiple TNSNAME.ora files.
    We are looking for the adequate tool to manage TNS entries in the OID.
    Does anybody use a Web interface to manage such entry ? or the mandatory tool is Oracle Directory Manager ?
    Is there another tool ?
    Thank in Advance.
    Jerome.

    The tool you use to manage the tns entries in the OID is Net Manager.
    Once you have ldap defined in your sqlnet.ora
    NAMES.DIRECTORY_PATH = (LDAP, TNSNAMES)
    And a valid ldap.ora file
    DIRECTORY_SERVERS=(oidhost:389:636)
    DEFAULT_ADMIN_CONTEXT = "dc=company,dc=com"
    DIRECTORY_SERVER_TYPE = OID
    You will then see that the directory and it's service names are available for management in the same way that the local tnsnames.ora entries.
    Alan...

  • When materials are returned from customer how to create gate entry ?

    I need to create gate entry for customer return materials before doing PGR. Is there any process available in SAP?
    Pls help
    Jaya

    HI
    you can do one thing
    At the time of doing PGR create a new output type and design smart form / Script based on client requirement and take the print out at the time of PGR
    and also if you want to check the stock for Return material you can track in the system by using MB51 you can find out rather than doing manually because one if you done PGR means you received the Stock
    if i am wrong please correct me
    Regards,
    Prasanna

  • How to Create new entry, while keeping CoS and nsRoles in tact...

    Hi,
    Here's the short version:
    How can one create a new entry/context in DS, copy the attributes from an existing entry (using JNDI) and save them in the new entry/context WITHOUT duplicating CoS or nsRole/DN info.
    Long version of the question:
    We are using DS 5.2 and Portal 6 (and messenger/calendar etc). We have our employees saved in DS. What I want to do is change a user's name/uid by copying the user's attributes (in JNDI) and create a New entry with the New uid, with all the other attributes the same. Then deleting the original entry.
    This is what I have done...
    1. Get all the employee's attributes... (abriviated)(ctx is the DirContext)
    NamingEnumeration answer = ctx.search(searchBase, filter, ctls);
    SearchResult sr = (SearchResult)answer.next();
    Attributes attrs = sr.getAttributes();
    2. Create a new employee with the same attributes (assume I use a different uid in the dn)
    ctx.createSubcontext(dn, attrs);
    This works...it copies all the attributes to the new entry -BUT- when you look at the LDIF file, it ADDS several more attributes to the new entry.
    Example: it adds the following...
    sunPortalNetletRules
    sunPortalGatewayEnableSSO
    sunPortalDesktopDpDocument
    sunPortalDesktopDpLastModifiedUser
    iplanet-am-user-auth-modules
    And about 20 others...
    Now if I am not mistaken, these are the CoS and roles that the DS uses and propagates down to the entry. But when I copy the attributes over, (using JNDI) I get these attributes too but I want to copy only the attributes that are unique and have DS handle the roles and CoS like it does for the original entry.
    Is there a way to tell the DS to just use the CoS or roles instead of duplicating all these attributes in this individual entry??? (and do it using JNDI)
    (sorry this question is sooooo long.)
    Thanks!
    Eric

    Hello Viji,
    I am extremely thank ful for the document.
    Kindly help me with below points of possible
    1)     if it is standard table (LFBK) , even then shall we will need to do the generate program 
    step in SCDO ?
    2)     does it generate Z-function module ?
    3)     do we need to call this function module at appropriate places to update the CDPOS and CDHDR 
    for changes in the standard table ?
    4)     I have already created custom business object for LFBK so that Iu2019ll be able to create entry 
    in SWEC (fyi)
    5)     how and when are the method used in the table maintenance generator called ?
    6)     Page 14 point 3 says that "Add a new entry to link the Change Document Object ZPRPS_CD and 
    table ZPRPS so that changes are recorded when table entries change."
    Does this mean that once we create SCDO and generate program, these two steps are  enough 
    for the SWED entry to create change log in CDPOS and CDHDR ?
    7)     It is understood that it is necessary that the change object in SWEC should be logged in 
    CDPOS and CDHDR only then the event would be created for the SWEC entry. is this correct ?
    in order to create change log for the change object in CDHDR and CDPOS, is the SCDO entry 
    and generate program steps enough or the methods of table  maintenance generator are also 
    required ?
    thank you very much for your time
    B

  • [CS4] How to create list entries having button using ADM ?

    Hi All,
    I  want to create list box using ADM whose entries can have button. like we see in layer panel, there is a button to select arts of layer as figure shows.
    I tried to use function like  sADMItem->AddItem(listBoxRef,linkButton)  but there is no effect.
    plz suggest how to do so.
    Thanks

    You can do this, but its a lot of work.
    First, you can't add buttons to list entries. Second, that's not an ADM list in the Layers panel, thats an ADM Hierarchy Control. If you have no children of top-level items, then it will look like a list.
    To do this, you'll need to use an ADM Hierarchy Control and you'll have to implement the Draw() routine of the entries of said control. It'll be up to you to draw everything -- the icon, the text, etc. Then you can also draw your 'button'.
    Next, you'll need to implemented the Track() routine. You can have it do the default for most things, but you'll need to check for clicks and see if they're in the bounds of the 'button' you drew. If so, you can do whatever you want that button to do (and change some state that makes the button draw differently). I don't reccommend animating the press of the button, though that's probably doable (its likely very hard though).
    The code for this is quite extensive, but I'd look at IADMHierarchyList.hpp & BaseADMHierarchyList.hpp/cpp in the SDK directory. You'll be sub-classing those guys to do all this. I don't know if there's any sample code demonstrating this or not.

  • How to create search/Entry screen in Oracle apps forms.

    HI All,
    I want to develop a form in such a way that if user enter the values in the master block and Tab out or if i use a button GO then all the detailed records need to be display in the detailed block field, if thers no matching data in the detailed blk then the form should allow to insert the records, basically its kind if thrs data exist in the master and details block when user enters the data the correcsponding details field needs to display, if the data not exist in master/detail block after clicking the Go buton the cursor should go to detailded block and the user can enter the data.
    and currently am useing a below code in trigger when-Button-Pressed but when click Go button each and everyime its asking for the confirmation for the changes i have made (i.e want to save or not kind of)... as if the data exist then when i click on Go button it should display the detailed field or else cusor should go to detailed tab and we can insert the data.
    =================================================     
    DECLARE
         l_dte_gang_date DATE;
         l_num_shift_no NUMBER;
         l_num_where VARCHAR2(200);
    BEGIN
         l_dte_gang_date := :BLK_DATE.GANG_DATE;
         l_num_shift_no := :BLK_DATE.SHIFT_No;
         l_num_where := 'gang_date= '||'to_date('||''''||l_dte_gang_date||''''||')'||' and shift_no= '||l_num_shift_no;
         SET_BLOCK_PROPERTY('BLK_DATE',DEFAULT_WHERE,l_num_where);
         go_item('BLK_DATE.gang_date');
         execute_query;
    END;
    SET_BLOCK_PROPERTY('BLK_DATE',DEFAULT_WHERE,l_num_where);
         go_item('BLK_DATE.gang_date');
         execute_query;
    =======================================================
    Regards,
    Mustaq.

    Can you please mark my answers correct......if they were helpful to you.....
    That would be so nice of you....:-)
    and regarding your next requirement, You should create a new table which will contain Date, Worker Number and any other details that you want.
    In the form, for every date for which you want to enter the data, you will select the max(date) before the current date and maximum worker number for that selected date and then from that number you can select next 15/20 workers or whatever your number is.
    e.g. for the first time if you want to enter data for 01-jul-2010 and you have work for 15 workers, you will select max(date) where date<01-jul-2010, but you will not find any bcoz this is your first entry. So wat you will do is will start popupating your grid from number 1-15.
    Next day you will select max(date) where date<02-jul-2010, you will find 01-jul-2010. Then you will select max(number) for 01-jul-2010, you will find 15. So populate your grid from number 16-30 (whatever your number is). and so on.
    Hope it helps you...
    Please mark my answer Helpful or correct and Please create a new thread for new question
    Thanks
    Nishu

  • How to create mass entries in a database table

    Hi,
    I am going to do a program that can help me to charge registers in a database table. The origin of the registers is an excell file, that contains 39000 entries.
    In other programs I use this function: 'ALSM_EXCEL_TO_INTERNAL_TABLE' but this function can only read 9999 registers. So I ask for us if There is another function that can help me. The other possibility that I think is call many times this function but If is possible to find another function, I guess that is better.
    Thanks and regards.

    Please allow me to translate "charge registers" into "create entries".
    This function module works quite simple via the clipboard, you could take the code and create your own version that allows more rows. However there might be a bottleneck at some point due to your local PC power.
    You could also store as CSV or TXT and use GUI_UPLOAD function or the "frontend" classes.
    For more performant processing the data would need to be transferred to the application server and uploaded from there using OPEN DATASET and so on, please search for more information.
    Thomas

Maybe you are looking for