Search This Blog

Wednesday, March 25, 2015

Error installing Service Pack 1 Microsoft CRM 2013 Language pack

Having issues  with Service Pack 1 installation:

The given key was not present in the dictionary.


in the log file I can see:

12:05:48|  Error| System.Exception: Échec de l’action Microsoft.Crm.UpdateWrapper.MspInstallAction. ---> 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.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





My solution is to delete empty registry branches in UNINSTALL container and try again.


to get a following 





Thursday, March 19, 2015

Visio 2013 - can not replace all words at one go in the diagram

I had an issue with Viso file where I could not edit a word inside a caption string. If you type you word it will delete while string. The same for Find and Replace.

The only way I could do it in bulk is to save as vsdx (xml format), open with 7zip, extract page1.xml, bulk replace in Notepad and inject file back to archive.

Ta-Da!