Friday, December 2, 2011

Oracle XE 11g Installation - "Oracle XE service instance failed"

If you get the error "Oracle XE service instance failed" while installing the oracle xe..

check the OracleXEService in services (Start->Run (type services.msc) enter)

Remove the OracleServiceXE by using below sc command

sc delete OracleServiceXE

now try the Oracle XE 11 g installation. :-)





53 comments:

  1. thank you. helped me very much

    ReplyDelete
  2. am getting an error message as sc cannot be recognised as command

    ReplyDelete
  3. C:\Users\Qasim>sc delete oracleservicexe
    [SC] OpenService FAILED 5:

    Access is denied.

    I disabled the service but still could not install it

    ReplyDelete
    Replies
    1. it work brother..

      Delete
    2. use cmd as administrator worked! Thanks.

      Delete
    3. Microsoft Windows [Versión 10.0.19043.1110]
      (c) Microsoft Corporation. Todos los derechos reservados.

      C:\Windows\system32>sc delete OracleServiceXE
      [SC] DeleteService CORRECTO

      C:\Windows\system32>

      Delete
  4. hi friends i try to do the command what u display like sc delete oracleservicexe bt it shows

    OpenService FAILED 5:
    Access is denied. like this

    where we type this command plz let me to my id venkatasai0101@gmail.com

    ReplyDelete
  5. Hi, I got a similar error that
    sc openservice failed 5
    Access denied

    Please let me know how I can solve this problem

    ReplyDelete
    Replies
    1. hello friend. try running cmd as administrator. and i tried it and it worked for me.

      Delete
    2. thanx dude it worked..

      Delete
    3. thank you for your help it really worked

      Delete
  6. Thanks a lot.It helped.

    ReplyDelete
    Replies
    1. please tell me details."try running cmd as administrator."i dont understand it.
      actually in my machine i am the admin.so this is not work for me..please help me....

      Delete
    2. right click on "cmd" and select "run as administrator ".

      Delete
  7. thanks for the help. but i stopped the OracleServiceXE instead of typing the sc command

    ReplyDelete
  8. Thanks for the help.. i was really hoping someone to help me and this post has helped me. It works on both 10g and 11GR2...

    ReplyDelete
  9. thans a lot..it worked for me//
    guys try openin cmd as admin 'sc delete oracleserviceXE' hit enter n thn try installing it again

    ReplyDelete
  10. thank you, it worked after using run as admin

    ReplyDelete
  11. thanks a lot for solving my prob.....

    ReplyDelete
  12. Very good, it worked. Friends run this command as Administrator, for example when you type in command, then right click on command and run as administrator, and then run as an administrator and follow the steps mentioned above.

    ReplyDelete
  13. Thanks
    but i have one more problem my sql developer is not working whenever i connect to database its loading and query not running on worksheet , no output after run

    ReplyDelete
  14. Thank alot !!!!!! ..............

    ReplyDelete
  15. administrator prompt, sc delete OracleServiceXE, Profit! Thank you very much!

    ReplyDelete
  16. Thank You all it did worked!! :-)

    ReplyDelete
  17. Hello sir when i try to run "sc delete OracleServiceXE" on cmd then massage print 'sc' is not recognize as internal and external command plz help me at this momemt. my g-mail id is "govindsharmacs@gmail.com"

    ReplyDelete
  18. very helpful! thank you!

    ReplyDelete
  19. Its was really helpfull. Thank you

    ReplyDelete
  20. Thank you it helped. To delete service i needed to stop it. Understood that not right away but im glad it installed

    ReplyDelete
  21. how can run the oracle in web it dosen not take local host

    ReplyDelete
  22. No, that too did not work. I use a windows 7 64 bit, are there any previous versions available?

    ReplyDelete
  23. thank you so much really Apprecited
    Run in one window
    cmd prompt, RUN AS ADMINSTRATOR(MUST)in one window
    type sc delete OracleServiceXE----enter
    [sc] delete success
    oracle setup start

    ReplyDelete
  24. very good its worked

    ReplyDelete
  25. search cmd in windows search bar then right click on it and "select run as administrator". boommmmm..... it will work

    ReplyDelete
  26. Thanks it worked For me.I installed Oracle 11g Your article Helped me Lot..Thanks

    ReplyDelete
  27. Thanks.....It worked for me !!

    ReplyDelete