Greasemonkey Install User Scirpt Error 0×80520012 Solution

advertisement

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: 0×80520012 ”

Error Installing User Script:

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


The solve this failure code: 0×80520012, 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 Post


19 Responses to “Greasemonkey Install User Scirpt Error 0×80520012 Solution”

  1. sincity says:

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

  2. sincity says:

    Script could not be installed [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIChannel.open]” nsresult: “0×80520012 (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

  3. chua says:

    create the blank config file should fix the problem

  4. Tina says:

    Script could not be installed [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIChannel.open]” nsresult: “0×80520012 (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?

  5. Joël LeBlanc says:

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

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

  7. 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.

  8. chua says:

    anotherone2: yes u can create the folder for it.

  9. 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?

  10. 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!

  11. chris says:

    TERRIFIC !

  12. robert says:

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

  13. Vladimir says:

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

  14. plisk says:

    Thanks for the tip :) , it works.

  15. boggin says:

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

  16. 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.

  17. 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…

  18. TheNewMessiah says:

    Was looking for this EVERYWHERE!!

    Thankyou so much.

    TNM

  19. Lesmak says:

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

Leave a Reply