Service Manager: Exchange Connector crash ArgumentNullException for key
Hi,
if you get a crash when trying to edit or open the exchange connector in the service manager console and that crash looks like
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Collections.Generic.SortedDictionary`2.ContainsKey(TKey key)
Then it means a template from the environment has no display name. Both versions of the exchange connector 3.0 and 3.1 crash because of this, so the only way will be to update the corresponding templates with display names.
Now depending on what locale the OS has, if it`s not English, you`ll have to set the display language in the management packs also to whatever locale is configured on the workflow server.
If this is done correctly then the error will go away.. :)
Comments
- Anonymous
April 27, 2017
Thanks Silvana, This helped me in my environment.