Thursday, January 31, 2013

Dynamics GP 2010 and SL 2011 on the same machine


We had a situation of installing Dynamics GP 2010 and SL 2011 on the same machine. Both products have been installed without any issues. However, if we tried to open Dynamics GP, the below error message appears and crashed the GP application.

Error Message                       



Exception Message in Event Viewer

Faulting application name: Dynamics.exe, version: 10.0.324.0, time stamp: 0x4a39b637
Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdaae
Exception code: 0xe0434f4d
Fault offset: 0x00009617
Faulting process id: 0x1180
Faulting application start time: 0x01cb280e1d3be92d
Faulting application path: C:\Program Files\Microsoft Dynamics\GP\Dynamics.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 18d9ebd3-941f-11df-8ddb-18a905f104ee

We have searched and found the cause of the issue in the Internet and the cause is as follows,
Cause   

The .NET framework assemblies for all the Dynamics family products have the same name, signed by Microsoft, and have the same version number but each product modifies the assemblies as desired except Dynamics GP. So, we need to move other Dynamics product assemblies to their own location.
Resolution

Move the following assembly files from C:\Windows\Assembly folder to Microsoft Dynamics SL installation folder.

1.       Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll
2.       Microsoft.Dynamics.Framework.UI.Navigation.dll
3.       Microsoft.Dynamics.Framework.UI.WinForms.Controls.ni.dll
4.       Microsoft.Dynamics.Framework.UI.Navigation.ni.dll

After moving the assemblies to Dynamics SL folder, Dynamics GP opens without any issues.

Hope this helps!!!

No comments:

Post a Comment