AyaNova service management & work order software
AyaNova Support Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Solution for error message running the... Expand / Collapse
Author
Message
Posted 8/9/2006 6:36:35 PM
AyaNova Sales & Support

AyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & Support

Group: Administrators
Last Login: Today @ 4:59:45 PM
Posts: 1,868, Visits: 4,328
If you run the ImportPartCSV utility, and receive a message similar to :

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Item has already been added. Key in dictionary: 'Z Loaner'  Key being added: 'Z Loaner'
   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
   at System.Collections.Hashtable.Add(Object key, Object value)
   at ImportPartCSV.Form1.Form1_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This message indicates you have a duplicate of whatever is indicated in the message for the key.

In the sample error above, the text 'Z Loaner' indicates that I have a duplicate of the part 'Z Loaner' or it may mean I have a duplicate of the vendor type 'Z Loaner'

Easiest is to perform a search in the Search Database screen in AyaNova for whatever is the key indicated. In the above sample error, I would perfor a search for "Z Loaner" . This way you can identify if it is duplicates of a part or of a vendor.

If a vendor, It is that the vendor is the same vendor type - i.e you might have two vendors called "Z Loaner" and both are set to vendor type of Wholesaler. The ImportPartCSV utility won't know which vendor to assign parts to, so there can only be one vendor type called "Z Loaner". You need to change it.

Or you  could have two parts with the same part name. You need to edit any duplicates to a different name.

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #1874
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: AyaNova Sales & Support

Permissions Expand / Collapse

All times are GMT -8:00, Time now is 11:55pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 10 queries. Compression Disabled.