CKB:KeyNotFoundException after confirming the transfer dialog of a Cryptshare transfer

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche


Applies to:

Cryptshare for Office 365 and Outlook up to version 2.3.0

Symptom:

When preparing a Cryptshare transfer and confirming the transfer dialog, Outlook throws a KeyNotFoundException error message instead of sending the notification email. The exception details may look as follows:

cryptshare.log  Expand source

2018-08-10 09:40:47.0114 | ProcessException | ERROR: INCOMING CRYPTSHARE EXCEPTION TO PROCESS | System.Collections.Generic.KeyNotFoundException: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.
 bei System.Collections.Generic.Dictionary\`2.get_Item(TKey key)
 bei com.befine_solutions.cs4outlook.custom.main.TemplateFactoryServer.GenerateRecipientTemplate(String recipientAddress, Dictionary\`2 urlMappings, MailTemplateResult template, Int32 bodyFormat)
 bei com.befine_solutions.cs4outlook.custom.main.EmailFactory.StartEmailNotificationSending(RecipientsTypeObj recipients, Dictionary\`2 urlMappings, DynamicDataModelTransferDialog dynModTransDia, TransferUploadInfoObj transUploadInfoObj, TransferSettingsObj transSettingsObj, AccountSettingsObj accSettingsObj, String mailItemId, ObservableCollection\`1 attachments)
2018-08-10 09:40:47.0114 | ProcessException | ERROR: | System.Collections.Generic.KeyNotFoundException: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.
 bei System.Collections.Generic.Dictionary\`2.get_Item(TKey key)
 bei com.befine_solutions.cs4outlook.custom.main.TemplateFactoryServer.GenerateRecipientTemplate(String recipientAddress, Dictionary\`2 urlMappings, MailTemplateResult template, Int32 bodyFormat)
 bei com.befine_solutions.cs4outlook.custom.main.EmailFactory.StartEmailNotificationSending(RecipientsTypeObj recipients, Dictionary\`2 urlMappings, DynamicDataModelTransferDialog dynModTransDia, TransferUploadInfoObj transUploadInfoObj, TransferSettingsObj transSettingsObj, AccountSettingsObj accSettingsObj, String mailItemId, ObservableCollection\`1 attachments)

or

cryptshare.log  Expand source

Message = The given key was not present in the dictionary. Data = System.Collections.ListDictionaryInternal InnerException = TargetSite = Void ThrowKeyNotFoundException() StackTrace = at
System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary\`2.get_Item(TKey key) at com.befine_solutions.cs4outlook.custom.main.TemplateFactoryServer.GenerateRecipientTemplate(String recipientAddress, Dictionary\`2 urlMappings, MailTemplateResult template, Int32 bodyFormat) at com.befine_solutions.cs4outlook.custom.main.EmailFactory.StartEmailNotificationSending(RecipientsTypeObj recipients, Dictionary\`2 urlMappings, DynamicDataModelTransferDialog dynModTransDia, TransferUploadInfoObj transUploadInfoObj, TransferSettingsObj transSettingsObj, AccountSettingsObj accSettingsObj, String mailItemId, ObservableCollection\`1 attachments) HelpLink = Source = mscorlib HResult = -2146232969

Cause:

This issue is caused in Cryptshare for Outlook v2.3.0.0136 and prior after updating to Cryptshare Server v4.1.0.0 and higher which has increased the frequency of this error. This is due to a change in how recipient addresses are handled on the server-side.

Solution:

Please update to the latest version of Cryptshare for Office 365 & Outlook