The program had been working fine since I wrote my last comment but when I went to use it today, same problem, same error messages. Config.xml and Styler.xml were both again missing from the /Notepad++Portable/Notepad++/ folder. I copied them same as last time and the problem went away.
Just in case it matters, I will tell you that the last file I opened with NP++ was since opened in another HTML editor (Homesite), modified, and saved under a different name.
Keep up the great work, thanks for your attention to this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Same problem with two computers, W XP.
Resolved by hand deletion of %APPDATA%/Notepad++/ config.xml and stylers.xml (follow the installation directives for zip files)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I find this hard to believe. A nery nice application somehow screws up (3rd time in 6 months for me) and the only solution is to uninstall the application and re-install it?
(I guess that's one way to make sure I have the most up-to-date version of the app.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
None of the above helped.
I found a config.xml file in the Application Data folder under local profile. Removed it..
Now my Notepad++ starts fine and there's no errors after closing either.
Good luck
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
RE: load config.xml failed
By: Nobody/Anonymous (nobody) - 2007-05-03 17:05
None of the above helped.
I found a config.xml file in the Application Data folder under local profile. Removed it..
Now my Notepad++ starts fine and there's no errors after closing either.
Good luck
It works!!!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using v4.1.1 and experience similar problems: sometimes NPP does not startup (no error message, nothing). I always have to delete the session.xml from the AppData-Dir, then every works fine again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can confirm that every time I've left Notepad++ open on my work machine and the automated system updates (NOT the normal Microsoft Updates) does a system reboot, I get the "load config.xml failed" msg.
I can also confirm that when this error appears the "\Documents and Settings\<user>\Application Data\Notepad++\config.xml" is of size zero and that closing NP++, deleting the config.xml file, and opening NP++ again regenerates the config.xml file INCLUDING my opened file history list.
I'd say Ben's code suggestion would probably do the trick - and if somebody wants to do a build with it, I'm game to test it out since I have a repeatable failure scenario available to me.
Jon-Mikel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I had this problem the config.xml in my Application Data had a zero length. I copied the config.xml from the Notepad++ folder into the Appication Folder and everything worked. This problem occured for me after running the latest version for several weeks. This is an interesting problem since I rarely mess with the Notepad configuration.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yup, the same for me (0 length), I use N++ from a USB exclusively so I never install, so all I did was get into the installlation .zip file copy conig.xml into Notepad++ folder and restart Notepad. Maybe if you want to avoid all the installation problems - don't. Just use .zip to copy files to a Notepad++ program folder.
By the way - where is the website's .zip link for the latest version?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get the same issue using Notepad++ version 4.2.2 on Win XP pro.
Works fine for a number of weeks, then for no apparent reason I suddenly get this "load config.xml failed!" message. From then the only way I've found to resolve the situation is to uninstall and reinstall...
Is there no other way/solution?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I experienced this problem for the first time today. My %APPDATA%\Notepad++\config.xml file also had nothing in it and size zero. I copied over the one from the applications directory and all is well. I am using version 4.3.
The only thing I can add is that in the past two days I have installed True Launch Bar, StyleXP, and changed my XP Desktop Theme via StyleXP. I have no idea if this is related or not.
The only other thing I can think of is that I had XP BSOD on me about an hour ago and Notepad++ may have been running at that time. It may be that the file was corrupted some how due to the BSOD crash.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Windows XP SP2 all patches current. HP nc6400 laptop, 2G RAM. Upgraded from N++ 4.4 to 4.5 now I get the error every time on startup. config.xml is not 0 bytes - it is about 4k.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found that the copy of config.xml in the /Program Files directory was 5k, but the one in the Applications folder was 0k. I copied the good one over the 0k, and now it works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Restart computer, double clickd notepad++,pop-up
message box "load config.xml failed",uninstall notepad++, reinstall, remain as before
I'm using version 4.2.2 with Win2K Pro.
The program had been working fine since I wrote my last comment but when I went to use it today, same problem, same error messages. Config.xml and Styler.xml were both again missing from the /Notepad++Portable/Notepad++/ folder. I copied them same as last time and the problem went away.
Just in case it matters, I will tell you that the last file I opened with NP++ was since opened in another HTML editor (Homesite), modified, and saved under a different name.
Keep up the great work, thanks for your attention to this.
Same problem with two computers, W XP.
Resolved by hand deletion of %APPDATA%/Notepad++/ config.xml and stylers.xml (follow the installation directives for zip files)
Uninstall Notepad++. Remove all references to "Notepad++" from regedit. Reinstall Notepad++.
Bingo!
I find this hard to believe. A nery nice application somehow screws up (3rd time in 6 months for me) and the only solution is to uninstall the application and re-install it?
(I guess that's one way to make sure I have the most up-to-date version of the app.)
None of the above helped.
I found a config.xml file in the Application Data folder under local profile. Removed it..
Now my Notepad++ starts fine and there's no errors after closing either.
Good luck
RE: load config.xml failed
By: Nobody/Anonymous (nobody) - 2007-05-03 17:05
None of the above helped.
I found a config.xml file in the Application Data folder under local profile. Removed it..
Now my Notepad++ starts fine and there's no errors after closing either.
Good luck
It works!!!!!
It seems that you use always v3.8.
Update your Notepad++ to v4.1.1 if you don't want such crash issue happens again in the future.
Don
I'm using v4.1.1 and experience similar problems: sometimes NPP does not startup (no error message, nothing). I always have to delete the session.xml from the AppData-Dir, then every works fine again.
I have the same problem, crashing on closing down, and some problem with config.xml. I have notepad++4.5
The same solution worked for me with v4.5. I removed "C:\Documents and Settings\..\Programdata\Notepad++\config.xml" and everything worked fine.
My guess is that the error is due to a failed update of the file when notepad++ exited some time earlier. Maybe on windows shutdown or hibernation.
If this is the case, then the quick fix would be (for the development team) to add somewhere in startup code:
if(length of config.xml is zero)
inform user("config.xml is corrupted. Deleting it")
delete config.xml
restart notepad++
Thanks by the way for a brilliant product!
Ben Arami
I can confirm that every time I've left Notepad++ open on my work machine and the automated system updates (NOT the normal Microsoft Updates) does a system reboot, I get the "load config.xml failed" msg.
I can also confirm that when this error appears the "\Documents and Settings\<user>\Application Data\Notepad++\config.xml" is of size zero and that closing NP++, deleting the config.xml file, and opening NP++ again regenerates the config.xml file INCLUDING my opened file history list.
I'd say Ben's code suggestion would probably do the trick - and if somebody wants to do a build with it, I'm game to test it out since I have a repeatable failure scenario available to me.
Jon-Mikel
When I had this problem the config.xml in my Application Data had a zero length. I copied the config.xml from the Notepad++ folder into the Appication Folder and everything worked. This problem occured for me after running the latest version for several weeks. This is an interesting problem since I rarely mess with the Notepad configuration.
Yup, the same for me (0 length), I use N++ from a USB exclusively so I never install, so all I did was get into the installlation .zip file copy conig.xml into Notepad++ folder and restart Notepad. Maybe if you want to avoid all the installation problems - don't. Just use .zip to copy files to a Notepad++ program folder.
By the way - where is the website's .zip link for the latest version?
http://downloads.sourceforge.net/notepad-plus/npp.4.2.2.bin.zip?use_mirror=kent
Don
What is your system? vista?
Don
all the same :(
resolved, clean regedit, deleted all files, reinstall ,set path %APPDATA%/OtherName(set path %pathdata%/notepad++ error)
I get the same issue using Notepad++ version 4.2.2 on Win XP pro.
Works fine for a number of weeks, then for no apparent reason I suddenly get this "load config.xml failed!" message. From then the only way I've found to resolve the situation is to uninstall and reinstall...
Is there no other way/solution?
Could you send me your config.xml to
don . h @ free . fr
? I'll send you back a new binary (in which this bug is fixed) to test.
Don
I experienced this problem for the first time today. My %APPDATA%\Notepad++\config.xml file also had nothing in it and size zero. I copied over the one from the applications directory and all is well. I am using version 4.3.
The only thing I can add is that in the past two days I have installed True Launch Bar, StyleXP, and changed my XP Desktop Theme via StyleXP. I have no idea if this is related or not.
The only other thing I can think of is that I had XP BSOD on me about an hour ago and Notepad++ may have been running at that time. It may be that the file was corrupted some how due to the BSOD crash.
The zero length of config.xml issue is like phantom stuck on me since v3.X.
The problem is I can not at all reproduce it.
So if it happens to you, please describe the symptoms here, I'll try to get rid of it!
Don
Windows XP SP2 all patches current. HP nc6400 laptop, 2G RAM. Upgraded from N++ 4.4 to 4.5 now I get the error every time on startup. config.xml is not 0 bytes - it is about 4k.
Could you send me your config.xml or post it?
Don
ps. v4.6 is just came out.
I found that the copy of config.xml in the /Program Files directory was 5k, but the one in the Applications folder was 0k. I copied the good one over the 0k, and now it works.