locked
Windows Live Writer has stopped working RRS feed

  • Question

  • Hi,

    Whenever I select Tools, Options or Tools, Accounts, I get the "Stopped Working" error. Log file below.:

    Any ideas how I can fix this. Tried re-installing, no luck.
    Thanks,
    Richard

    00000 10:49:40:27 AM  User is opted out of CEIP
    00001 10:49:40:29 AM  Starting Windows Live Writer 14.0.8064.206
    00002 10:49:40:29 AM  .NET version: 2.0.50727.4016
    00003 10:49:40:38 AM  No legacy directory to monitor for plugins. Ignoring legacy directory.
    00004 10:49:40:38 AM  Not monitoring legacy registry key in HKLM.
    00005 10:49:40:87 AM  499 499
    00006 10:49:44:60 AM Fail Unexpected Error Occurred
    Exception Details:
    An unexpected error has occurred within the application.
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager' threw an exception. ---> System.ArgumentException: Missing text parameter
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager.GlossaryLinkItemFromXml(XmlNode node)
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager..ctor()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager..cctor()
       --- End of inner exception stack trace ---
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager.get_Instance()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryListView.LoadData()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryListView..ctor(IContainer container, Int32 width)
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManagementControl.InitializeComponent()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManagementControl..ctor()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryPreferencesPanel.InitializeComponent()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryPreferencesPanel..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
       at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at WindowsLive.Writer.PostEditor.PreferencesHandler.ShowPreferences(IWin32Window owner, IBlogPostEditingSite editingSite, Type selectedPanelType)
       at WindowsLive.Writer.PostEditor.PostEditorPreferencesEditor.EditAccounts()
       at WindowsLive.Writer.PostEditor.PostEditorPreferencesEditor._commandAccounts_Execute(Object sender, EventArgs e)
       at WindowsLive.Writer.ApplicationFramework.Command.RaiseEvent(Object eventKey, EventArgs e)
       at WindowsLive.Writer.ApplicationFramework.Command.OnExecute(EventArgs e)
    00007 10:49:48:71 AM Fail Unexpected Error Occurred
    Exception Details:
    An unexpected error has occurred within the application.
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager' threw an exception. ---> System.ArgumentException: Missing text parameter
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager.GlossaryLinkItemFromXml(XmlNode node)
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager..ctor()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager..cctor()
       --- End of inner exception stack trace ---
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager.get_Instance()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryListView.LoadData()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryListView..ctor(IContainer container, Int32 width)
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManagementControl.InitializeComponent()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManagementControl..ctor()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryPreferencesPanel.InitializeComponent()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryPreferencesPanel..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
       at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at WindowsLive.Writer.PostEditor.PreferencesHandler.ShowPreferences(IWin32Window owner, IBlogPostEditingSite editingSite, Type selectedPanelType)
       at WindowsLive.Writer.PostEditor.PostEditorPreferencesEditor.EditPreferences()
       at WindowsLive.Writer.PostEditor.PostEditorPreferencesEditor._commandPreferences_Execute(Object sender, EventArgs e)
       at WindowsLive.Writer.ApplicationFramework.Command.RaiseEvent(Object eventKey, EventArgs e)
       at WindowsLive.Writer.ApplicationFramework.Command.OnExecute(EventArgs e)
    00008 10:51:04:92 AM Fail Unexpected Error Occurred
    Exception Details:
    An unexpected error has occurred within the application.
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager' threw an exception. ---> System.ArgumentException: Missing text parameter
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager.GlossaryLinkItemFromXml(XmlNode node)
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager..ctor()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager..cctor()
       --- End of inner exception stack trace ---
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManager.get_Instance()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryListView.LoadData()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryListView..ctor(IContainer container, Int32 width)
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManagementControl.InitializeComponent()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryManagementControl..ctor()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryPreferencesPanel.InitializeComponent()
       at WindowsLive.Writer.HtmlEditor.Linking.GlossaryPreferencesPanel..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
       at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at WindowsLive.Writer.PostEditor.PreferencesHandler.ShowPreferences(IWin32Window owner, IBlogPostEditingSite editingSite, Type selectedPanelType)
       at WindowsLive.Writer.PostEditor.PostEditorPreferencesEditor.EditPreferences()
       at WindowsLive.Writer.PostEditor.PostEditorPreferencesEditor._commandPreferences_Execute(Object sender, EventArgs e)
       at WindowsLive.Writer.ApplicationFramework.Command.RaiseEvent(Object eventKey, EventArgs e)
       at WindowsLive.Writer.ApplicationFramework.Command.OnExecute(EventArgs e)
    Thursday, July 30, 2009 9:55 AM

Answers

  • Click on start > Run. Then copy this in "%appdata%\Windows Live Writer\LinkGlossary" (without quotes), press enter. Make a copy of the linkglossary.xml file in that folder, then delete the original. Try loading Live Writer then. If you never used the link glossary feature of Live Writer, you can probably just delete the copy. If you used it, you might want to open it up in notepad so you can look at the settings you'll sadly need to re-enter.
    SL - Windows Live Platform MVP
    If my post has answered your question, please mark it as an answer.
    • Proposed as answer by Scott Lovegrove Thursday, July 30, 2009 11:07 AM
    • Marked as answer by rmcsharry Thursday, July 30, 2009 11:14 AM
    Thursday, July 30, 2009 11:07 AM

All replies

  • Click on start > Run. Then copy this in "%appdata%\Windows Live Writer\LinkGlossary" (without quotes), press enter. Make a copy of the linkglossary.xml file in that folder, then delete the original. Try loading Live Writer then. If you never used the link glossary feature of Live Writer, you can probably just delete the copy. If you used it, you might want to open it up in notepad so you can look at the settings you'll sadly need to re-enter.
    SL - Windows Live Platform MVP
    If my post has answered your question, please mark it as an answer.
    • Proposed as answer by Scott Lovegrove Thursday, July 30, 2009 11:07 AM
    • Marked as answer by rmcsharry Thursday, July 30, 2009 11:14 AM
    Thursday, July 30, 2009 11:07 AM
  • Scott,

    Thank you!

    Very Much aPpreciated Mr MVP :)

    I never used the glossary so no biggie thankfully.

    Richard
    Thursday, July 30, 2009 11:15 AM
  • Scott, thank you.

    For me the fix was even easier, though it was along the lines you suggest.

    First, I saved a backup of linkglossary.xml for safety.

    Then I opened the linkglossary.xml file in  my text editor, and found that the last autolink I had created had nothing between <text> and </text>. (You can look at earlier examples in your xml file to see how it should look, if you've already created some autolinks.)

    I typed in the autolink text I wanted, saved, and all works as expected.

    This may save others with this problem from having to manually re-enter all their autoilinks.

    Thanks again!

    • Proposed as answer by James_Kenny Wednesday, March 31, 2010 2:56 AM
    Friday, December 11, 2009 5:41 PM
  • JG Wilkinson you are the man!

     

    3 days of research un install / install / repair and it was that simple fix an entry with missing text

    Wednesday, March 31, 2010 2:56 AM