Unhandled Exception with Dynamics 2011 in Office 2010

This question is not answered

Can someone please help me?

For some reason, dynamics in outlook just stopped working. Here is the error:

Microsoft .NET framework

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. if you click Quit, the application will close immediately.

Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME)).

Details below:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))

  at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)

  at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

  at Microsoft.Crm.Application.SMWrappers.ActiveXLocalPageFrame.<>c__DisplayClass5.<HideWebLoading>b__4()

  at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)

  at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

  at System.Threading.ExecutionContext.runTryCode(Object userData)

  at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

  at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

  at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

  at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

  at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

  at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

************** Loaded Assemblies **************

mscorlib

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)

   CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

Microsoft.Crm.Application.Outlook.Components.Platform

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Application.Outlook.Components.Platform.DLL

----------------------------------------

Microsoft.Crm.Core

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9900.1060

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/Microsoft.Crm.Core.DLL

----------------------------------------

System.Windows.Forms

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1002 built by: RTMGDR

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1001 built by: RTMGDR

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1001 built by: RTMGDR

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

Microsoft.Crm.Admin.AdminService

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9900.1060

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Admin.AdminService.DLL

----------------------------------------

Microsoft.Crm

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/Microsoft.Crm.DLL

----------------------------------------

Microsoft.Crm.Core.Extensions

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9900.1060

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/Microsoft.Crm.Core.Extensions.DLL

----------------------------------------

Microsoft.Interop.Mapi.Interfaces

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Interop.Mapi.Interfaces.DLL

----------------------------------------

Microsoft.Crm.Application.Components.Platform

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Application.Components.Platform.DLL

----------------------------------------

Microsoft.Crm.Platform.Sdk

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Platform.Sdk.DLL

----------------------------------------

System.Data.Services

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.297 built by: RTMGDR

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Services/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Services.dll

----------------------------------------

System.Core

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.233 built by: RTMGDR

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

Microsoft.Crm.Application.Outlook.OfflineSync

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Application.Outlook.OfflineSync.DLL

----------------------------------------

Microsoft.ExceptionHelper

   Assembly Version: 1.0.0.0

   Win32 Version: 1.0.0.0

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.ExceptionHelper.DLL

----------------------------------------

Accessibility

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 built by: RTMRel

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

Microsoft.Interop.Mapi.Impl

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Interop.Mapi.Impl.DLL

----------------------------------------

System.Data.SqlServerCe

   Assembly Version: 3.5.1.0

   Win32 Version: 3.5.8082.0

   CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Data.SqlServerCe/3.5.1.0__89845dcd8080cc91/System.Data.SqlServerCe.dll

----------------------------------------

Microsoft.Xrm.Sdk

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9900.1060

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/Microsoft.Xrm.Sdk.DLL

----------------------------------------

System.Xml

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.233 built by: RTMGDR

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Data

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.237 (RTMGDR.030319-2300)

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

System.Transactions

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

----------------------------------------

System.Runtime.Serialization

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

----------------------------------------

Microsoft.Crm.Sdk.Proxy

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Sdk.Proxy.DLL

----------------------------------------

System.ServiceModel

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1001 built by: RTMGDR

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll

----------------------------------------

SMDiagnostics

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

----------------------------------------

System.Runtime.DurableInstancing

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 built by: RTMRel

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.DurableInstancing/v4.0_4.0.0.0__31bf3856ad364e35/System.Runtime.DurableInstancing.dll

----------------------------------------

System.Configuration

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.EnterpriseServices

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

----------------------------------------

System.Xaml

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.298 built by: RTMGDR

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

----------------------------------------

Microsoft.Crm.Platform.Server

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Platform.Server.DLL

----------------------------------------

System.Numerics

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 built by: RTMRel

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

----------------------------------------

System.Web.Services

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

----------------------------------------

Microsoft.Crm.Sdk

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9900.1060

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/Microsoft.Crm.Sdk.DLL

----------------------------------------

System.IdentityModel

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1001 (RTMGDR.030319-1000)

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll

----------------------------------------

Microsoft.Crm.Passport.IdCrl

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9900.1060

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Passport.IdCrl.DLL

----------------------------------------

Microsoft.IdentityModel

   Assembly Version: 3.5.0.0

   Win32 Version: 6.1.7600.16394

   CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.IdentityModel/3.5.0.0__31bf3856ad364e35/Microsoft.IdentityModel.dll

----------------------------------------

System.IdentityModel.Selectors

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel.Selectors/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.Selectors.dll

----------------------------------------

System.Web

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.272 built by: RTMGDR

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

----------------------------------------

AntiXssLibrary

   Assembly Version: 4.2.0.0

   Win32 Version: 4.2.0.0

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/AntiXssLibrary.DLL

----------------------------------------

Microsoft.Crm.ObjectModel

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.ObjectModel.DLL

----------------------------------------

Microsoft.Crm.Sdk.Reserved

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Sdk.Reserved.DLL

----------------------------------------

Microsoft.Crm.MapiShared

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.MapiShared.DLL

----------------------------------------

WinFormsRegions

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/WinFormsRegions.DLL

----------------------------------------

Microsoft.Crm.Application.Outlook.Components.Platform.XmlSerializers

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Application.Outlook.Components.Platform.XmlSerializers.DLL

----------------------------------------

CustomMarshalers

   Assembly Version: 4.0.0.0

   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

   CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll

----------------------------------------

Microsoft.Office.Interop.Outlook

   Assembly Version: 14.0.0.0

   Win32 Version: 14.0.4760.1000

   CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.Office.Interop.Outlook/14.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Outlook.dll

----------------------------------------

office

   Assembly Version: 14.0.0.0

   Win32 Version: 14.0.4760.1000

   CodeBase: file:///C:/windows/assembly/GAC_MSIL/office/14.0.0.0__71e9bce111e9429c/office.dll

----------------------------------------

Microsoft.Crm.Application.Components.Strings

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Application.Components.Strings.DLL

----------------------------------------

Microsoft.Vbe.Interop.Forms

   Assembly Version: 11.0.0.0

   Win32 Version: 14.0.4747.1000

   CodeBase: file:///C:/windows/assembly/GAC_MSIL/Microsoft.Vbe.Interop.Forms/11.0.0.0__71e9bce111e9429c/Microsoft.Vbe.Interop.Forms.dll

----------------------------------------

Microsoft.mshtml

   Assembly Version: 7.0.3300.0

   Win32 Version: 7.0.3300.0

   CodeBase: file:///C:/windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll

----------------------------------------

Microsoft.Crm.Application.Components.Shared

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Application.Components.Shared.DLL

----------------------------------------

Microsoft.Crm.Application.Components.Platform.XmlSerializers

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Application.Components.Platform.XmlSerializers.DLL

----------------------------------------

Microsoft.Crm.Workflow

   Assembly Version: 5.0.0.0

   Win32 Version: 5.0.9690.3448

   CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20CRM/Client/res/web/bin/Microsoft.Crm.Workflow.DLL

----------------------------------------

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging enabled.

For example:

<configuration>

   <system.windows.forms jitDebugging="true" />

</configuration>

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

Solutions I've tried:

I've tried repairing .NET framework 4, both the "Client Profile" and the "Extended." No dice. I've removed and re-installed them. No dice.

I've removed Java and reinstalled it. No change.

I've run two full virus scans with two different anti-virus programs. Nothing found.

I've removed the temporary files in Dynamics from the Diagnostics tool. No change. I've even removed Dynamics CRM from outlook and re-installed it. No change.

All Replies
  • In have exactly the same problem since few months. It seems to be related with the client. I tried also all the steps described above, including completde remove/re-install without success. Please let me know if you find a solution.

  • In looking around at the forum, it looks like there are a LOT of glitches - not just the one I have. I'm now going to try and reformat my machine, because that's the only thing left I have to try. Had I known that Dynamics CRM for outlook was going to be so problematic, I wouldn't have gone with Microsoft Dynamics.

  • Hi Jbuck1285,

    Can you please let me know what Update Rollup you have installed on the CRM server, as well as on the CRM client for Outlook? You can check the UR version on the appropriate machines by navigating to Control Panel -> Programs and Features -> View Installed Updates.

    Do you have any other Outlook add-ins installed? You can view these under File -> Options -> Add-ins, underneath "Active Application Add-ins". If so, I would recommend disabling all add-ins other than CRM to see if the issue still occurs. If you have anti-virus software installed, I would also recommend adding the crmaddin.dll file under \Microsoft Dynamics CRM\Client\bin\ to the program's exception list.

    Thank you for using Microsoft Dynamics CRM Communities!

    Additional information can be found on the Dynamics CRM Support Blog.

    Jon Birnbaum
    Sr. Support Engineer
    Microsoft Dynamics CRM

  • Hi Jon,

    Thank you for your response. I had update rollup 13 installed on the CRM client for outlook. I'm not sure what version I have on the server.

    In addition, I did have outlook add-ins installed, but I disabled all of them except for the CRM client. No change.

    I have Microsoft Security Essentials installed on the machines, is it possible to add that file to the exception list in Essentials?

  • Hi Jbuck1285,

    You can check the currently installed Update Rollup on the server through Control Panel -> Programs and Features -> View Installed Updates, as well. My recommendation is to use the same Update Rollup on the client as the server is on, as having a version disparity between the two can cause issues in certain scenarios.

    If the issue continues to reproduce with matching versions, I would encourage you to open a support case for this issue, as we will need to do some additional investigating and may need to capture a memory dump when Outlook crashes to determine the cause of the exception.

    Thank you for using Microsoft Dynamics CRM Communities!

    Additional information can be found on the Dynamics CRM Support Blog.

    Jon Birnbaum
    Sr. Support Engineer
    Microsoft Dynamics CRM