This discussion is archived
11 Replies Latest reply: Jul 14, 2012 1:02 AM by 948725 RSS

XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b

717136 Newbie
Currently Being Moderated
Hello,

i tried to install the windows version on WINDOWS 7 porf 64b and got an error:

"The Installer is unable to initiate the file KEY_XE.reg
The file does not appear to exist."

Is there a need to disable UAC for installation?
Or does the file not exist really?
What are the values of the registry key?

Best regards
AK
  • 2. Re: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b
    390585 Newbie
    Currently Being Moderated
    - Ignore this error.

    - After installation, modify your listener.ora to change (HOST = YOUR_HOSTNAME).

    to know your HOST, under cmd make this command hostname and recopy the value into HOST.

    - then stop/start this services:

    OracleServiceXE
    OracleXETNSListener

    - once started, try to connect to apex
  • 3. Re: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b
    717136 Newbie
    Currently Being Moderated
    Hi qbuonann ,

    i exported the key from WIN7 32bit an imported it in WIN7 64bit and it worked.

    Achim
  • 4. Re: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b
    clcarter Expert
    Currently Being Moderated
    Careful here ...
    - then stop/start this services:
    OracleServiceXE
    OracleXETNSListener
    On the startup side, always start the listener first so the database registration takes place. If that doesn't happen the apex service won't be available. Verify apex with a `lsnrctl status` and make sure the http (usually port 8080) endpoint is in the Endpoints... section of the lsnrctl status output.

    Edited by: clcarter on Oct 5, 2011 11:31 AM
    add port#
  • 5. Re: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b
    896227 Newbie
    Currently Being Moderated
    I have Windows 7 x64 and a got the problem about the KEY_XE.reg not fount. I have tried a lot of configurations I have finally solved.

    We need do some thinks:

    1. Start the installer ‘Setup.exe’. Wait till ask about the path;
    2. Do not press next. Open with Windows Explorer the folder like this:
    C:\Users\<your user name>\AppData\Local\Temp{60712028-B7B0-4EC3-9C28-663111EC954A}
    3. There will be a file “OracleMTSRecoveryService.reg”. Make a copy and rename the copy to KEY_REG.reg;
    4. Go to the installer and go ahead with the installation.

    You will not see any error about the KEY_XE.reg not found.

    Now, you need check your hostname and localhost. Open the file C:\Windows\System32\drivers\etc\hosts and check if you have something like this:

    127.0.0.1 localhost
    192.168.1.20 your_pc_hostname

    The second line is your IP, this one is an example.

    Try to stop and start the Oracle Express by the shortcut at the start menu. To check if all Oracle services are running, use this command:

    C:\Oracle\oraclexe\app\oracle\product\11.2.0\server\bin>lsnrctl status

    The result:
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 26-OUT-2011 00:09:03

    Copyright (c) 1991, 2010, Oracle. All rights reserved.

    Connection with (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    LISTENER STATUS
    NICK LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    Initial Date 25-OUT-2011 23:36:53
    Running 0 dias 0 hr. 32 min. 14 seg
    Analysis level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener param. D:\Oracle\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
    Log Listener D:\Oracle\oraclexe\app\oracle\diag\tnslsnr\<your_pc_hostname>\listener\alert\log.xml
    Resume...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.20)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zetared-pc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services...
    O service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    O service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service..
    O Service "XEXDB" tem 1 Instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    O service "xe" has 1 Instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    You cannot see the services “xe”, so you need do fix the listener.ora at D:\Oracle\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora
    If your hostname or localhost didn’t work, so put your PC IP, like this:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\Oracle\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    )
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\Oracle\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.20)(PORT = 1521))
    )
    )
    DEFAULT_SERVICE_LISTENER = (XE)

    Maybe can be necessary fix the D:\Oracle\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\sample\LISTENER.ORA, put the IP too. Like this:

    # LISTENER =
    # (ADDRESS_LIST=
    # (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.20)(PORT=1521))
    # (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))

    If you try open the apex by the Windows start menu and get the error http://127.0.0.1:%HTTPPORT%/apex/f?p=4950. It is easy:

    Go to D:\Oracle\oraclexe\app\oracle\product\11.2.0\server and click over the file Get_Started and choose properties, there change the %HTTPPORT% for you port, usually 8080, will be like this: http://127.0.0.1:8080/apex/f?p=4950

    Pay attention, I have installed Oracle Express 11g at D:\Oracle.
  • 6. Re: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b
    902963 Newbie
    Currently Being Moderated
    Still Unable to get the XE 11/10 Running on the Win7 X64 Enterprise Edition

    the 11G enterprise installed without any hickups.
  • 7. Re: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b
    945395 Newbie
    Currently Being Moderated
    Hey man!!, that was an excellent answer, I had Win7 x64 and done you told us. In tree first steps and eureka!
    Thanks you.
  • 8. Re: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b
    726248 Newbie
    Currently Being Moderated
    I spent couple of hrs on this issue and finally make it work. The below given blog has provided very nice details on this..

    http://blog.mclaughlinsoftware.com/tag/key_xe-reg/

    I wonder why Oracle did not publish any formal FAQ for this issue still
  • 9. Re: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b
    948725 Newbie
    Currently Being Moderated
    Dear 893224,

    I add my thanks for your solution! I followed it, and I managed to install Oracle in my Win7, 64-bit PC. However, this way, the OracleMTSRecoveryService is not installed, any ideas on how to solve this, too?

    Dayna66p
  • 10. Re: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b
    934517 Newbie
    Currently Being Moderated
    Hi,

    I also had the issue with KEY_XE.reg, and just copying the file in the user TEMP directory (as mentioned before) did not help.
    So next time I actually executed the file (so importing the file's content in the registry), and that helped, as far as I can see now everything went smoothly without any further intervention to listener.ora or whatever.

    Hope this is helpful.
    JHvH

    Edited by: 931514 on 12-jul-2012 5:06
  • 11. Re: XE11: KEY_XE.reg cannot be loaded on WIN7 prof 64b
    948725 Newbie
    Currently Being Moderated
    Dear JHvH,

    You did it! All is well in my PC too, now, you have my gratitude as well as my admiration... BTW, all those 'white-hat hacking' solutions are just 'try-and-err' attempts or is there something more? Just curious... Thanks again,

    Dayna66p

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points