Recently I noticed an error when starting NotePad++, “Load config.xml failed”. NotePad++ proceeded to work with a slightly different skin but this error was annoying. The problem started well after my latest version upgrade so I am not sure what triggered the problem. I have been successful running the latest version of Notepad++ so I was pretty sure this problem would go away when they issued the next version. Today I finally got annoyed enough to fix the problem. The config.xml file in the Application Data folder for my profile had a zero length. I copied over a config.xml from the NotePad++ directory under Programs Files. This post in the sourceforge forum says about the same thing, http://sourceforge.net/forum/message.php?msg_id=4294797.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
I had no changes in software but ran into this issue after months of using n++. Thanks!
Thanks for the tip. I had the same problem and found that if I simply deleted (or renamed) the config.xml file, a replacement was automatically copied into the folder when I reloaded the app.
Pingback: Random Thoughts
Thanks for the tip. Simply:
sudo rm -f ~/.wine/drive_c/windows/profiles/root/Application Data/Notepad++/config.xml
If all linux solutions were such “elegant”….
Hi, I had a blue screen due to procmon, and ended up with this problem,
the XML file was cut of in the middle of a /NotepadPlus/History/File node.
I was able to salvage my settings by adding the appropriate ending nodes. (Just a tip for the next time)
Thanks to everyone who have taken the time to share their tips for fixing this problem! Hopefully the folks supporting NotePad++ have fixed the problem and it will not re-appear again.
Thanks for posting this solution. Worked for me!
Saved me a lot of irritation too. Many thanks.
Thanks you for this “fix” – it helped for me as well!
i also received a bluescreen on my windows vista (i think i also run procmon from microsoft!) and now my config.xml in my appdata – roaming folder is still 6kb but contains no char that can be viewed in any editor.
notepad++ will show only NUL if i open it
Pingback: Freeze - Reboot - Profile damaged? Any program settings lost? - Microsoft Windows Vista Community Forums - Vistaheads
This issue seems not to be fixed, or it has recurred. I just now DL’ed and installed Notepad++Portable on my Win7 pro x64 machine, and starting it for the absolute first time I get both the “load langs.xml” and the “load config.xml” error messages. This is Notepad++portable v 5.6.7
It seems to be a security issue on Win7.
Same here, Win7 x64 been losing settings for months on various machines. Somewhat embarrassing if a text editor can’t even keep the basic settings…
I found out, that this error comes up, when I install the app (actually v5.7) on win7 with the option NOT to use Appdata (so as if you want the Tool portable/on USB-Storage). Some xml and ini keep missing.
Then I reinstalled the npp with admin-rights (right click on the installer and “run as administrator”), that did the trick – all files were created and it works fine now!
Thanks this worked for me. Wonder how it happened…
What I did after recopying a fresh copy of config.xml configure everything back to the way I want and then set the file to read only. So far the error hasn’t popped up.
Thanks for the solution! Now I just need to tackle the disappearing langs.xml file problem and I can finally use Notepad++ in peace…