In case you really couldn’t tell, I use Windows Live Writer for all of my blog posts. It’s free, it runs respectably well (usually) on my little netbook, and it gets the job done in a nice WYSIWYG fashion. Combine all of that and you get an app that in my book is full of win. At least, it is until it crashes on me repeatedly every time I try to create a hyperlink by selecting text I have already typed, and then try to use either the option on the right side toolbar, or by selecting the option under Insert on the menu. Then it is full of something else which I will not spell out here, as I try to keep this blog PG-13 at its worst.
If you are experiencing the same problem, then this little gem of a popup should look very familiar to you.
However, WLW hasn’t really stopped working. You can let that sit until it times out trying to find a solution and asks you to close the program, or you can click Cancel; either way you are right back in WLW where you left off…no program restart, nothing lost, or anything else that you’d expect from a program crash. WTH?
If you check the WLW log (Help, About Windows Live Writer, Show Log File, then open the Windows Live Writer.log file in your favourite text editor,) you’ll see that the problem is caused by
System.TypeInitializationException: The type initializer for ‘WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager’ threw an exception. —> System.ArgumentException: Missing text parameter
While I cannot explain why this happened, I can tell you how to fix it. Open the %appdata%\Windows Live Writer\LinkGlossary\linkglossary.xml file and find the section that has nothing between <text> and </text> tags. Either add some text, or delete that entire section. Save the file and you should be right as rain. If you are not greatly attached to any links you wanted to automatically link to you can just delete this file. WLW will recreate it the next time you create a link. Hope this helps someone else out.
You might also enjoy:






{ 6 comments… read them below or add one }
Twitter: gabrielnovo
2010-02-04 at 22:20
Not only are you the first person I know to have broken Windows Live Writer, you are also the first to have fixed it and documented the solution. Get down with your bad self
Thanks for posting this. I was about to uninstall the whole damn thing. I deleted the entry that contained the empty text segment. Works fine now.
Thanks a lot buddy. I had more than a thousand links, and this is the only solution that explains how to save the links. Great job
Hi Ishan,
I’m so glad to hear it helped you. I couldn’t imagine losing the 30 or so that I had when I wrote that post. 1000+ links, and you’re the admin of a site about Free Software? Hmmm, free software, over 1000 links…carry the one….I think I need to check out your site!
Thanks for dropping by, and thanks for commenting.
Best,
Ed
Twitter: smohkim
2010-08-29 at 14:06
Thanks a lot mate for this. At least the tool doesn’t crash when using the hyperlink .. Thanks a bunch again, impressive site you have.
Sardar Mohkim Khan recently posted..Sorry Steve- Unlike iPhone 4- Samsung Omnia 2 Doesn’t Have Antennagate Issue
Glad it could help you. You’ve got a great site going to!
Ed