Outlook 2013 with Dynamics 2013 CRM Plugin extremely slow

9 Jul

I have recently upgraded my Dynamics CRM server from 2013 to 2013 SP1:

crm1

All of my user machines (VDI) have office 2013 with the Dynamics CRM 2011 plugin installed (I previous had Dynamics CRM 2011 on a seperate server, but 2013 was released before we set it up and so I removed the old 2011 server).

The website has a GlobalSign SSL against it and runs fine internally and externally. I also have a terminal server running Server 2012 with Outlook 2013 and the Dynamics CRM 2011 plugin and this also runs fine.

My machine was running fine but I decided to upgrade the Outlook plugin to 2013 and that’s where my problems started. I removed the 2011 plugin (and even followed the detailed guide on how to completely remove it) and then installed the 2013 plugin.

It installed fine but when I use it, it is ridiculously slow. For example, I highlight an email and then click “Track” in the tool bar. What should happen is the little icon of the blue/green people should appear next to it and then the options for “Convert To” text should be available, but they are not. The button at the top changed to read “Untrack” but that’s it, making it completely unusable. If I go an make a tea, and then come back and then go an make another tea, sometimes it will have updated by the time i get back, but generally it does not. I can close and re-open outlook and still the icon does not display next to the email. Interestingly although the button at the top reads “Untrack” which indicates that it is being tracked, the pane at the bottom reads “This email is not being tracked in CRM”.

Now, if I logon to the terminal (RDS) server (that I mentioned above) everything works fine and Outlook updates immediately, all the machines are on the same VLAN and so I should be able to rule out firwall issues (that terminal server is still running the 2011 plugin) so that would indicate that this is a problem with my machine. I created a fresh machine and installed that same applications and the same problem was had, so that now indicated that its a problem with the plugin perhaps or something very specific to my setup.

I had tried to download and install SP1 for Dynamics CRM 2013 for Outlook but on 2 separate machines I received the same error when installing:

crm2

The log for my attempt last night shows:

23:11:44| Info| Refreshing previous hotfix ARP entries
23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2466084_Client_1033
23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2466086_Client_1033
23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2547347_Client_1033
23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2556167_Client_1033
23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2567454_Client_1033
23:11:44| Info| Writing registry entry SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB2600643_Client_1033
23:11:44| Info| Retrieving current hotfix ARP entries for 0c524d20-1409-0060-8a9e-0c4c490e4e54
23:11:44| Info| Retrieving entry KB2466084_Client_1033
23:11:44| Info| Retrieving entry KB2466086_Client_1033
23:11:44| Info| Retrieving entry KB2547347_Client_1033
23:11:44| Info| Retrieving entry KB2556167_Client_1033
23:11:44| Info| Retrieving entry KB2567454_Client_1033
23:11:44| Info| Retrieving entry KB2600643_Client_1033
23:11:44| Info| Retrieving entry KB2888948_Client_1033
23:11:44| Info| value 'RegistryLocation': ''
23:11:44| Info| value 'HelpLink': 'http://support.microsoft.com/kb/2888948'
23:11:44| Info| value 'ParentKeyName': 'Microsoft Dynamics CRM 2013 for Microsoft Office Outlook'
23:11:44| Info| value 'UninstallString': 'C:\Windows\\$CrmUninstallKB2888948_Client_1033$\CrmUpdateWrapper.exe /uninstall'
23:11:44| Info| value 'NoRemove': '0'
23:11:44| Info| value 'ParentDisplayName': 'Microsoft Dynamics CRM 2013 for Microsoft Office Outlook'
23:11:44| Info| value 'NoRepair': '1'
23:11:44| Info| value 'DisplayVersion': '6.0.0000.0809'
23:11:44| Info| value 'Publisher': 'Microsoft Corporation'
23:11:44| Info| value 'DisplayName': 'Service Pack 1 for Microsoft Dynamics CRM for Outlook (KB2888948)'
23:11:44| Info| value 'NoModify': '1'
23:11:44| Info| Retrieving entry KB2941390_Client_1033
23:11:44| Info| value 'HelpLink': 'http://support.microsoft.com/kb/2941390'
23:11:44| Info| value 'UninstallString': 'C:\Windows\\$CrmUninstallKB2941390_Client_1033$\CrmUpdateWrapper.exe /uninstall'
23:11:44| Info| value 'DisplayName': 'Service Pack 1 for Microsoft Dynamics CRM for Outlook (KB2941390)'
23:11:44| Info| value 'NoRemove': '0'
23:11:44| Info| value 'NoRepair': '1'
23:11:44| Info| value 'RegistryLocation': ''
23:11:44| Info| value 'NoModify': '1'
23:11:44| Info| value 'ParentDisplayName': 'Microsoft Dynamics CRM 2013 for Microsoft Office Outlook'
23:11:44| Info| value 'DisplayVersion': '6.1.0000.0581'
23:11:44| Info| value 'Publisher': 'Microsoft Corporation'
23:11:44| Info| value 'ParentKeyName': 'Microsoft Dynamics CRM 2013 for Microsoft Office Outlook'
23:11:44| Error| System.Exception: Action Microsoft.Crm.UpdateWrapper.MspInstallAction failed. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.Crm.Setup.Update.HotFixArpEntryHandler.<>c__DisplayClass7.<RemoveSupercededEntries>b__5(ArpEntryDescriptor entry)
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at Microsoft.Crm.Setup.Update.HotFixArpEntryHandler.RemoveSupercededEntries(IEnumerable`1 arpEntries, Version minimumVersionToKeep)
at Microsoft.Crm.UpdateWrapper.MspInstallAction.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
23:11:50| Info| InputResult: Cancel
23:11:50| Info| CrmAction execution time; MspInstallAction; 00:01:12.9310905
23:11:50| Error| Install exception.System.Exception: Action Microsoft.Crm.UpdateWrapper.MspInstallAction failed. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.Crm.Setup.Update.HotFixArpEntryHandler.<>c__DisplayClass7.<RemoveSupercededEntries>b__5(ArpEntryDescriptor entry)
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at Microsoft.Crm.Setup.Update.HotFixArpEntryHandler.RemoveSupercededEntries(IEnumerable`1 arpEntries, Version minimumVersionToKeep)
at Microsoft.Crm.UpdateWrapper.MspInstallAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
at Microsoft.Crm.UpdateWrapper.HotfixMspInstaller.Install()
at Microsoft.Crm.Setup.Shared.ComposedInstaller.InvokeInstall(Installer installer, IDictionary stateSaver)
at Microsoft.Crm.Setup.Shared.ComposedInstaller.InternalInstall(IDictionary stateSaver)
at Microsoft.Crm.Setup.Shared.ComposedInstaller.Install(IDictionary stateSaver)
at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
at Microsoft.Crm.Setup.Shared.SetupBase.ExecuteOperation()
23:11:50|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.ExecuteOperation
23:11:50| Info| failed.
23:11:50| Info| Setup did not complete successfully.

Action Microsoft.Crm.UpdateWrapper.MspInstallAction failed.
The given key was not present in the dictionary.

23:11:50| Error| Setup did not complete successfully.
23:11:50|Verbose| Method exit: Microsoft.Crm.UpdateWrapper.UpdateSetup.RunInternal
23:11:50|Verbose| Update Not Completed
23:11:50|Verbose| Update Not Completed
23:11:50| Info| Service Pack 1 for Microsoft Dynamics CRM for Outlook (KB2941390) was not completed successfully because of the following problems:

Action Microsoft.Crm.UpdateWrapper.MspInstallAction failed.
The given key was not present in the dictionary.

 

23:11:50| Info| ActivatePage(HotfixFinishPage)

I also tried manually installing Rollup 2 before installing SP1 but I still get the same error.

Now I’m not sure if the Outlook plugin update is going to fix the problem, so as it stands I have 2 problems:

  1. Very very slow Outlook CRM Plugin when updating emails and icons
  2. Cannot install 2013 CRM SP1 for Outlook

So, I’m stumped, and this is really holding me back. I will post any updates here, but if anyone has any ideas, please let me know.

Update: I removed the Outlook CRM 2013 plugin and re-installed the old 2011 plugin so that I could get working on setting up the CRM again but this just would not connect to the CRM server. I installed roll-up 15 and again this failed, but roll-up 17 did allow me to connect Outlook to the CRM system thankfully and everything is working again. I obviously would like to get the 2013 plugin (and SP1) installed and working, but this will do for now.