Can't change tnsnames.ora

Hi Everybody,
Am using 10gXE , while trying to add new entry to tnsnames.ora or init.ora it throws a exception that don't have enough privellege.Am having the database in my local system.How to handle the sitution .please help.
Thanks

Well, XE is not certified against Vista.
http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm
So you need to download the edition meant for Vista from here...
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10203vista.html

Similar Messages

  • SQL Developer can't see tnsnames.ora

    Hiya. I hope someone can help with this. I installed Oracle instant client (basic lite) on my new Windows 7 machine (32 bit) - yeah, I know Windows 7 is not supported, but my gut feeling is that this isn't the issue I'm having.
    I've put my tnsnames.ora file in the same folder as instant client (C:\program files\oracle\instantclient), have created a system environment variable TNS_ADMIN which points to that folder, and have added that folder to the system "path" environment variable. That should do it, right?
    When I try to create a new connection in SQL Developer 2.1.0.63, and change my connection type to "tns", I don't see any database connections.
    Troubleshooting ideas? Other ways to test that the needed Oracle files are installed properly?
    Thanks!

    Here's how to debug where it's looking:
    http://krisrice.blogspot.com/2008/04/it-seems-to-come-up-often-that-some.html
    -kris

  • Can we share TNSNAMES.ORA

    hi,
    I would like to know if it is possible to share a tnsnames.ora on Oracle8.1.7 between several clients. We are using multiple databases and the file tnsnames.ora often changes.
    Can we do it and how ?
    Thank you if you have an answer.

    No tnsnames.ora is included with Instant Client, you have to create (or copy, as you do) your own.
    You did the right thing, TNS_ADMIN must point to the directory containing tnsnames.ora.
    If you have an sqlnet.ora file, it must be in the same directory.
    Yours,
    Laurenz Albe

  • Can't find tnsnames.ora

    Hi,
    I install Instant Client on Linux using rpm. I need to edit the tnsnames.ora, but I can't find it.
    Can I copy one instance of tnsnames.ora and set TNS_ADMIN=<the path of tnsname.ora directory> as and enviornment variable on your client machine?
    Thank you

    No tnsnames.ora is included with Instant Client, you have to create (or copy, as you do) your own.
    You did the right thing, TNS_ADMIN must point to the directory containing tnsnames.ora.
    If you have an sqlnet.ora file, it must be in the same directory.
    Yours,
    Laurenz Albe

  • Tnsping can't read tnsnames.ora  TNS-12533: TNS:illegal ADDRESS parameters

    Here's my tnsnames.ora. tnsping thinks it's illegal:
    acsplan =
    (DESCRIPTION=ACSPLAN
    (ADDRESS_LIST =
              (ADDRESS=(PROTOCOL=tcp)(HOST=10.101.205.166)(PORT=1521))
    (CONNECT_DATA=(SID=ACSPLAN))
    Why does tnsping think this is illegal?
    Thanks.
    Dean

    Dean Schulze wrote:
    Here's my tnsnames.ora. tnsping thinks it's illegal:
    acsplan =
    (DESCRIPTION=ACSPLAN
    (ADDRESS_LIST =
              (ADDRESS=(PROTOCOL=tcp)(HOST=10.101.205.166)(PORT=1521))
    (CONNECT_DATA=(SID=ACSPLAN))
    Why does tnsping think this is illegal?Does this work?
    acsplan  =
       (DESCRIPTION=
         (ADDRESS_LIST =
              (ADDRESS=(PROTOCOL=tcp)(HOST=10.101.205.166)(PORT=1521))
         (CONNECT_DATA=(SID=ACSPLAN))
       )

  • Getting host, port from the tnsnames.ora with the service name

    Hi.
    I think that I asked a similar question yesterday. I want to ask if there is a way to get host and port from the tnsnames.org with a given service name. Somebody answered it for getting SID in the sqlplus. so I tried it in a similar way, but it didn't work.
    I have a service name, but I don't know how to get host and port. I know that I can parse the tnsnames.ora file to get it, but if possible, I want to use the more official and safe way.
    I'd appreciated if somebody knows it.

    caesarkim wrote:
    Hi.
    I think that I asked a similar question yesterday. I want to ask if there is a way to get host and port from the tnsnames.org with a given service name. Somebody answered it for getting SID in the sqlplus. so I tried it in a similar way, but it didn't work.
    I have a service name, but I don't know how to get host and port. I know that I can parse the tnsnames.ora file to get it, but if possible, I want to use the more official and safe way.
    I'd appreciated if somebody knows it.Oracle RDBMS does not require SQL*Net to operate.
    Oracle RDBMS does NOT now or care about content of any tnsnames.ora file.
    Realize that each (remote) user can have their own personalized copy of tnsnames.ora
    The content of tnsnames not NOT have to reflect any reality.
    I could post the content of my tnsnames.ora & it would be useless to everyone reading.

  • Lookıng tnsnames.ora from em (rac)

    hi
    I cannot see the content of tnsnames.ora file from enterprise manager
    Oracle 10.2.0.3.0 on ibm aix
    The server is rac with two instances.
    for both instances, from the enterprise manager I look at at Net Services Administration > Local Naming:
    but nothing comes.
    However I can look at tnsnames.ora file from the server.
    How can I see tnsnames.ora from em ?

    but nothing comesIn what sense ? Nothing at all, or "No Search Results" ?
    I can look at tnsnames.ora file from the serverWhere ?

  • TOAD/OID and TNSNAMES.ORA

    We had OID installed on a trial basis here to replace tnsnames.ora files on servers, laptops and desktops. We have since uninstalled and removed all files and registry entries of the application from the server where it was installed.
    I had my laptop set up to use OID and I removed my TNSNAMES.ORA file. I have since removed all files from my laptop that had anything to do with OID and I put in a new TNSNAMES.ORA file. At the present time I can delete my TNSNAMES.ORA file from my laptop and TOAD will still connect to Oracle. However, SQLPlus or any other tool I use to connect to Oracle will not connect. Also, I can connect to Oracle databases that are not in my current TNSNAMES.ORA file.
    I have scanned my laptop looking for TNSNAMES.ORA files. I have set my registry to include a TNS_ADMIN entry to point to my current TNSNAMES.ORA file and I have set up user and system variables to point to my current TNSNAMES.ORA file but nothing seems to stop TOAD from using the Oracle connection strings that were established in OID. By the way, I uninstalled TOAD, cleaned out all files and registry entries that I know of; then I reinstalled TOAD. That didn't help either.
    Does anybody have any ideas of where I can look to resolve this?
    Thanks,
    Tom

    Is it possible, you are a 'victim' of hostname resolution? If there's a constellation like:
    1)You have a host named host.something.com
    2) You enter 'sqlplus scott/[email protected]'
    then Oracle generates
              (DESCRIPTION=
              (CONNECT_DATA=(SID=*)(SERVICE_NAME=host.something.com))
              (ADDRESS=(PROTOCOL=TCP)(HOST=host.something.com)(PORT=1521))
    Connect will succeed if you have a corresponding configuration on the server side,you don't need any configuration files on the client side.
    BUT, since you have sqlnet.ora, which points to tnsnames as name resolution, it would mean TOAD ignores yout sqlnet.ora. Nevertheless host name resolution could be an explanation for this mysterious behaviour.

  • USB Flash Drive -- tnsnames.ora

    I would like to be able to run the SQL Developer from a USB flash drive. Everything works great except I have a tnsnames.ora file referenced in my connections.
    Does anyone know if there is a location in the SQL Developer folders that I can place the tnsnames.ora file, so that it would be read by SQL Developer. I would like to be able to plug in the USB drive without setting TNS_ADMIN or having oracle home, and was wondering if the software would also check a directory as an option.
    The reason I like the tnsnames.ora, is that I have a RAC'd environment with multiple servers and the simple connection tab does not allow me to enter multiple servers. Thanks.

    Hello all,
    I'm evaluating SQL Developer today (7/11/2007) and I wanted to describe a technique my company uses to start apps that require an Oracle environment to be created prior to startup. We use a command file for this purpose. The .cmd file resides in the same folder as the application executable (sqldeveloper.exe in this case) and looks like this -
    ------------ sqldeveloper.cmd ------------------------------------------------------------------------
    @echo off
    setlocal
    REM cd to the system drive just in case..
    c:
    cd %TEMP%
    REm this file sets some Oracle variables
    call X:\Oracle.10gR2.EN.001\dba\oracle.cmd
    REM cd to the location where sqldeveloper was placed
    cd "C:\Program Files\sqldeveloper"
    REM specifiy the folder where the tnsnames.ora resides
    set TNS_ADMIN=X:\Oracle.10gR2.EN.001\network\admin
    REM start the app, in this case SQL Developer
    start sqldeveloper.exe
    The file X:\Oracle.10gR2.EN.001\dba\oracle.cmd in the call command above contains -
    set ORACLE_HOME=X:\Oracle.10gR2.EN.001
    set TNS_ADMIN=X:\Oracle.10gR2.EN.001\%ORA_SETUP%\%ORA_NAMES_SRV%
    set ACCESS=C:\Program Files\Ora01.102
    path %ACCESS%;%ORACLE_HOME%\bin;%windir%\System32;%windir%
    set API=%ORACLE_HOME%\dbs
    set OLEDB=%ORACLE_HOME%\oledb\mesg
    set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    set SQLPATH=%ORACLE_HOME%\DBS
    set SQLPLUS=%ORACLE_HOME%\sqlplus\mesg
    set OO4O=%ORACLE_HOME%\oo4o\mesg
    set NLSRTL33=%ORACLE_HOME%\ocommon\nls\mesg
    set NLSRTL32=%ORACLE_HOME%\ocommon\nls\mesg
    set ORA_NLS32=%ORACLE_HOME%\ocommon\nls\admin\data
    set ORA_NLS33=%ORACLE_HOME%\ocommon\nls\admin\data
    The X: drive above is a network drive where Oracle utilities are installed, so I don't actually have to have them installed on my PC. The tnsnames.ora is also maintained by the DBA, so no one needs to have it (or the Oracle client) on his/her own PC. This drive is automatically mapped to my PC at startup.
    When I start up SQL Developer by double-clicking on a shortcut pointing to the .cmd file, it reads the tnsnames.ora specified above. When I switch the Connection Type in the Connection dialog box from Basic to TNS, my tnsnames.ora entries appear in the Network Alias dropdown.
    One issue I'm noticing with this approach is that when I right-click on the Connections node and select New Connection, it takes a few minutes to read the tnsnames.ora, and when it finally returns control, it lists each tnsnames node multiple times in the dropdown. None of my other apps (TOAD for example) do this. However, this is a minor issue, shouldn't stop me from using the tool.
    Hope this helps..

  • ORA-12545 error after changing the host name as IP address in Tnsnames.ora

    HI,
    I tried to connect PHP and oracle in Red Hat linux. I got error ORA-12545 after changing the host name as IPAddress in Tnsnames.ora file. In sqlnet.ora file also i have entry for tnsnames in Directory_Path. I struggled so much but i couldnt solve that. Please give me ur valuable suggestions....

    12545, 00000, "Connect failed because target host or object does not exist"
    // *Cause: The address specified is not valid, or the program being
    // connected to does not exist.
    // *Action: Ensure the ADDRESS parameters have been entered correctly; the
    // most likely incorrect parameter is the node name. Ensure that the
    // executable for the server exists (perhaps "oracle" is missing.)
    // If the protocol is TCP/IP, edit the TNSNAMES.ORA file to change the
    // host name to a numeric IP address and try again.
    Seems you specified wrong IP address.

  • Can i use the default value in TNSNAMES.ora file

    Hai , i connect the Vb to oralcle using Oracle data access component , and i have read the documentation for ora file.
    Most documentation show to connect oracle with vb.net , the ora file must be modified.
    My questions is , can i directly connect to Oracle without modify the ora file ?
    Thank You

    Thank you for the reply. I will read the documentation first.
    I install the oracle 10g express edition . Hence , i have two user , the sys an the other is hd.
    How the TNSNAMES.ora known i want connect to which username ?
    Thank you

  • SQLDeveloper stubbornly refuses to see my tnsnames.ora changes...

    Win32 x86 32-bit running SQLDeveloper 2.1.1
    Previously, I had a tnsnames.ora file in place with several hundred entries. SQLDeveloper worked fine.
    Then I deleted that file and created a new tnsnames.ora file with only one entry.
    When I try to define a new Database Connection (Connection Type: TNS), I still see all the old entreis under Network Alias. (Yes, I've quit and restarted SQL Developer).
    I do not have a tnsnames.ora file in my home directory...in fact, the only one on the whole box lives in $ORACLE_HOME/network/admin (I searched ;-) I have setup a TNS_ADMIN environment variable...no change.
    I suspect there is something cached somewhere, but I did a registry search for "TNS" and didn't find it.
    I've since uninstalled the client and reinstalled it, and ran a fresh copy of SQLDeveloper...and it's still showing the old entries!
    What am I missing? Some preferences/properties cache file somewhere? Is there a way in SQLDeveloper to say "go refresh your list of tns entries"?

    Half progress...I found a small typo in the new tnsnames.ora that made it invalid. Fixing that made it load into SQL DEveloper and I was able to connect to the DBs in that tnsnames.ora.
    BUT...it still shows all the old entries. My new entries are mixed in alphabetically with the old entries, despite the fact that my old entries are no longer in the current tnsnames.ora.
    ...?

  • Can't srvctl command write tnsnames.ora file?

    Hi,
    I use srvctl to create a new service correctly, but I find the information of this service isn't written into tnsnames.ora file, it means, user can't connect database by directly using this service name, it's very stranger, who can tell me how to use srvctl to create a service and ensuer the information about this service can be correctly written into tnsnames.ora file?
    #srvctl add service -d mm -s mx -r node1 -a node2.

    Did you check tnsnames.ora for any new entries?
    Yes,There are not any new entries for the new service I just created.
    Check the command reference again, there is a flag to display "sample tns entries"
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/srvctladmin.htm#i1008779
    I check that documentation, and I can use that command to run in my RAC environment, the returned result is
    Example client-side TNS entry for service mx:
    mx = (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db_vip)(PORT=dedicated_port
    ))(CONNECT_DATA=(SERVICE_NAME=mx)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC
    How to use this service in client or our application, must we manullay configure tnsnames.ora file?
    BRs./Vinson

  • Can you convert a standard tnsnames.ora to the IDEConnections.xml?

    I'm interested to see if there is a way to convert an existing tnsnames.ora to the IDEConnections.xml format?
    Would be a nice tip/feature...especially if you want to deploy sql developer to a large user base and not have them type in every possible connection.

    He wants all of his connections to just show without having to create connections. Actually, I noticed a post from Kris that shows a method for doing this:
    Re: Raptor Wish List
    Eric

  • How can you "share" 1 common TNSNAMES.ORA file amngst many clients?

    We're installing into a large enterprise, and have the rqmt of installing 8.1.7 client locally, yet sharing a common network copy of TNSNAMES.ORA. Has anyone ever done this? Better yet, the question might ought to be what is the proper approach here? Local client is necessary for compatibility reasons.
    Thanks!

    Hi
    Oracle provides a "DNS" type of service called ORACLE NAMES SERVERS.
    This means that if the NAMES_DIRECTORY_PATH parameter in the sqlnet.ora file
    has a value of OSNAMES, then the client automatically uses DDO ..
    Dynamic Discovery Option to resolve then Oracle Name.
    I recommend that you read up on this point ....
    Regards
    Ade

Maybe you are looking for

  • Error while importing an existing project into workspace

    hi, I am trying to import an existing project into workspace but getting an error 'vfamilychange' doest not have a .project file .But while checking into the folder structure of project vfamilychange' shows the .project file is already there. Please

  • Can I use a PowerBook with the cover closed?

    Can I use my G4 PowerBook with the cover closed using an external display. keyboard, and mouse?

  • Reporting multi-currency on reports, without hardcoding the exchange rates

    I've seen this problem posted in a few different spots, and the general answer is, reporting only reports in a single currency per report. Unless you do some calculations in a column to get a new currency value. Problem... 1. we dont really want to h

  • Function module in loop

    i m using "BAPI_GL_GETGLACCPERIODBALANCES" FUNCTION MODULE. LOOP AT IT_OUTPUT INTO WA_OUTPUT . CALL FUNCTION 'BAPI_GL_GETGLACCPERIODBALANCES'   EXPORTING     COMPANYCODE                   = WA_OUTPUT-BUKRS     GLACCT                        = WA_OUTPU

  • Custom component/renderer deploy "location"

    What is the best place to deploy custom components/renderers sources inside the war archive? Under WEB-INF ?