0
Completed

Improve exception message for missing agent on startup

Kevin Lin 10 years ago updated by anonymous 8 years ago 0

On startup the following error is displayed:

Unify.Framework.UnifyServiceInitializeException: The given key was not present i
n the dictionary. ---> System.Collections.Generic.KeyNotFoundException: The give
n key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Unify.Product.IdentityBroker.AgentEngine.InitializeFromXml(XDocument xml)
   at Unify.Framework.UnifyEngine`1.Initialize()
   --- End of inner exception stack trace ---
   at Unify.Framework.UnifyEngine`1.Initialize()
   at Unify.Service.Connect.Debug.ProgramProxy.Execute()

The error is a result of the connector not having been installed. Consider a better message to be displayed to users.