Greasemonkey Install User Scirpt Error 0x80520012 Solution


firefox extension, script error, script error solution, error solution Many user experiece problem while using Greasemonkey (a firefox extension), especially when they trying to install a user js script. Below is the most common error they get “failure code: 0x80520012 ”

Error Installing User Script:

[Exception…”Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND)[nsIChannel.open]” nsresult: “0x80520012 (NS_ERROR_FILE_NOT_FOUND)” location: “JS frame:: chrome://greasemonkey/content/utils.js :: getContents:: line 167” data:np]

Advertisements

The solve this failure code: 0x80520012, simply go to:-
Win XP / Win 2k
C:\Documents and Settings\ [User Name]\ Application Data\ Mozilla\ Firefox\ Profiles\ xxxxxxxx.default\

Win 98
C:\WINDOWS\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\

Linux (usually is located is)
~/.mozilla/firefox/xxxxxxxx.default/

Mac OS X

~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/

(where xxxxxxxx is a random string of 8 characters)

– create a folder name gm_scripts
– create a blank config.xml in gm_scripts folder

Once you create everything above, you can try to install a user script again. The problem should be solved!

Technorati Tags: , , , , ,

Related posts:






Share this with your friends:-

21 Responses to “Greasemonkey Install User Scirpt Error 0x80520012 Solution”

  1. viper200355 says:

    i use windows 7 and im trying to install userscripts for KOC and i get this error:
    Script could not be installed [Exception… “Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIChannel.open]” nsresult: “0x80520012 (NS_ERROR_FILE_NOT_FOUND)” location: “JS frame :: chrome://greasemonkey/content/utils.js :: getContents :: line 242” data: no]

    if there is a solution can someoone plz tell me how to fix this issue it is very important to me ty

  2. Rage says:

    Works fine ! Thank you very much dude.

  3. sincity says:

    im running windows 7 is the fix different? ps im an idiot at this

  4. sincity says:

    Script could not be installed [Exception… “Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIChannel.open]” nsresult: “0x80520012 (NS_ERROR_FILE_NOT_FOUND)” location: “JS frame :: chrome://greasemonkey/content/utils.js :: getContents :: line 242” data: no]

    i cant seam to fix this error at all

  5. chua says:

    create the blank config file should fix the problem

  6. Tina says:

    Script could not be installed [Exception… “Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIChannel.open]” nsresult: “0x80520012 (NS_ERROR_FILE_NOT_FOUND)” location: “JS frame :: chrome://greasemonkey/content/utils.js :: getContents :: line 242” data: no]

    Still have the error. Maybe I didn’t create the blank config file right. That is just a folder, correct?

  7. Joël LeBlanc says:

    IT F***ING WORKS!!! That rocks, you saved me from alot of head banging on the walls!

  8. […] from 2008-07-03] Following the instructions on techiecorner.com made it happen: it now works again – thank you, Jaidev (and Zebra, of […]

  9. char says:

    I too had the same error, but in my case the folder and file were already created.
    Well it turned out that the config.xml file was installed with read only access, so i just right clicked the file and changed the permission to read and write access . These solved the problem, =)

    BTW, I’m running Xubuntu Hardy.

  10. chua says:

    anotherone2: yes u can create the folder for it.

  11. anotherone2 says:

    I too went and looked for the location and couldn’t find it. I even did a search on FireFox; another search on Mozilla; and another search on profile…nothing. Can I create the folder?

  12. David says:

    Thanks a bunch! I was trying to install this script for such a long time and it solved my problem first try! Thank you!

  13. chris says:

    TERRIFIC !

  14. robert says:

    unfortunately, it doesn’t work for me – now I get no elemtent found
    chrome://greasemonkey/content/install.xul line 1

  15. Vladimir says:

    Thank You!!!!! !!!!! You sooooooo help me!

  16. plisk says:

    Thanks for the tip :), it works.

  17. boggin says:

    Thanks, mate, saved me a from some forehead slapping pain. 🙂

  18. chua says:

    anotherone: i think u went into the wrong user folder. Try to look for other user, if you installed mozilla firefox sure there will be the Mozilla folder.

  19. anotherone says:

    if i go to C:\Documents and Settings\ [User Name]\ Application Data\
    the only folder i see there is “Microsoft”, no “Mozilla” folder at all…

  20. TheNewMessiah says:

    Was looking for this EVERYWHERE!!

    Thankyou so much.

    TNM

  21. Lesmak says:

    Excelent post! It´s solve my problem.
    Thanks and greetings from Argentina.

Leave a Reply