Workaround | Error Installing UR2 for Microsoft Dynamics CRM 2013

If you have CRM 2013 installed on Windows 2012/R2 Server, you might see the below error message which prevents you from installing UR2.

18:06:21| Info| Error: Failed to install .Net 4.0 KB 2836939 update with return code: 1642
18:06:21| Error| System.Exception: Action Microsoft.Crm.UpdateWrapper.InstallDotNet4KBUpdate failed. —> Microsoft.Crm.Setup.Shared.SetupException: Failed to install required components: .NET 4.0 KB 2836939
at Microsoft.Crm.UpdateWrapper.InstallDotNet4KBUpdate.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
— End of inner exception stack trace —, Error, RetryCancel, Option1

Microsoft Support has documented the issue and the workaround here.

The issue is related to the installer failing to evaluate the installed .Net version with certain number formats set in the region control panel. This then attempts to install KB2836939 which cannot be installed in Windows 2012. The KB2836939 is an update for .NET Framework 4.0 which is only available for the following operating systems:

  • Windows XP Service Pack 3
  • Windows Server 2003 Service Pack 2
  • Windows Vista Service Pack 2
  • Windows Server 2008 Service Pack 2
  • Windows 7 Service Pack 1
  • Windows Server 2008 R2 Service Pack 1

Workaround as suggested by Microsoft support:

  •  Set  a standard number format in regional settings (e.g. decimal symbol = [comma], grouping symbol = [dot])
  •  Add below registry keys (recommended approach)
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Updates\Microsoft .NET Framework 4 Extended\KB2836939v3
      • String “ThisVersionInstalled” = “Y”
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Updates\Microsoft .NET Framework 4 Client Profile\KB2836939v3
      • String “ThisVersionInstalled” = “Y”
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s