*Update: This issue is associated with Active Directory logins in eNICQ version 5.4.x and earlier. It will be corrected in versions 5.5.x and later.
Attempting to open eNICQ 5 the user receives an error saying "Exception has been thrown by the target of an invocation" and the application will close.
If you have multiple instances of the client application installed you will receive this error on each of the workstations.
When you check the call stack you should see reference to "DataAccess.UserData".
Type : System.ArgumentException, mscorlib, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : An item with the same key has already been added.
Source : mscorlib
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ThrowArgumentException(System.ExceptionResource)
Stack Trace : at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at VermontOxford.ENICQ.Infrastructure.Module.Services.DataAccess.UserData..ctor(IDataProvider dataProvider, IItemFactory itemFactory)
Resolution of this issue will require support from a database administrator or IT professional with similar skills and access.
Open SQL Management Studio and in the enicqdb database open the tblUsers table. You should spot duplicate users in there.
To resolve this problem, Vermont Oxford Network asks that the contents of tblUsers be output to text file (such as CSV format) and set to our support team at firstname.lastname@example.org. Our team will generate and return one or more SQL scripts to correct the problem based on the record conflict identified.
In the event that it is unclear which account is in active use by the end user, it may be necessary to review tblEventLog to determine the active account.
Due to the key fields involved and connection to event logging, it is important to work with VON staff for resolution.