Outlook Add-in stops working with message about type initializer

Some users are reporting that the Add-in in Outlook 2010 stops working and may display messages like

The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception.

The fix is:

  1. Exit Outlook
  2. Delete or rename the user.config in the current AppData folder for the add-in, e.g. something like C:\Users\{YourName}\AppData\Local\Microsoft_Corporation\Soup_Mail_Outlook_Addin.v_Path_audlumi0kjiiephephcroktxjbzai0nh\14.0.6126.5003
  3.  Re-open Outlook
Have more questions? Submit a request


Article is closed for comments.