AbrahamA 3/28/2007 10:58:32 AM

The given key was not present in the dictionary

I encountered an 'The given key was not present in the dictionary' error today when loading Dynamics, it occurred just before the login screen. It was caused by deleting a field on a form that I had an event handler set for. Commenting out the event handler code fixed it.

 In today's case I had deleted a custom field, and still had the event handler in the GpAddin.vb file under Sub Initialize:

AddHandler DynamicsModified.Forms.SopEntry.SopEntry.LineScroll.QtyOnPo.LeaveAfterOriginal, AddressOf oSOPTransactionEntryDetail.QtyOnPoLeaveAfterOriginal

This needed to be commented out.

Version: Unknown or N/A
Section: Visual Studio Tools for Dynamics GP
This thread has been marked as 'Closed' and archived


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3