Users may occasionally encounter a dialog box that has the text "Visual Studio has encountered an exception. This may be caused by an extension. See the Activity Log for more details." This dialog box will appear no more than once per Visual Studio session.
To resolve this issue:
This dialog box can often be dismissed just by clicking OK. The Activity Log can be helpful when you debug your own extensions or report errors to Microsoft. For more information about how to use the Activity Log, visit http://msdn.microsoft.com/en-us/library/ms241272(VS.100).aspx .
If you no longer want this dialog box to be displayed, you can disable it by creating a registry key under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Text Editor that has the value name "Report Exceptions". To suppress the message box, create this registry value as a DWORD and set it to 0. The dialog box should no longer appear.