I am receiving the error "An item with the same key has been added already" when I run smartconnect integrations using the AA Distribution adapter, and map Transaction dimensions and Codes. This happens on multiple systems and various mappings (I've tried a number of times unsuccessfully)
I can run the maps to the AA distribution node as long as I dont have dimensions or codes (I can map to the Note and Reference fields)
The techs at eone ran my integration on their systems successfully, but were not able to help me determine the difference between my install and theirs (which tells me its more eConnect or .net or some windows thing and not Smartconnect)
Also happens on older and the newest version of Smartconnect.
Does anyone have any suggestions for troubleshooting. The eConnect Event Log didnt point to anything I could make sense of. I get the same two errors in event fiewer:
Action: Service Create Current User Name: DOMAIN\ADMINISTRATOR Input parameters: Exception type: System.ArgumentException Exception message: An item with the same key has already been added. Stack Trace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Microsoft.Dynamics.GP.eConnect.ErrorHandler.ParseErrorCodes(String ErrorString) at Microsoft.Dynamics.GP.eConnect.ErrorHandler.GenerateExceptionFromProcErrors(String errorString, XElement transactionXmlNode, SqlConnection connection) at Microsoft.Dynamics.GP.eConnect.EntityMessageProcessor.ExecuteSqlCommands(XElement transactionNode, EntityMessage message) at Microsoft.Dynamics.GP.eConnect.eConnectMethods.ProcessMessageImport(EntityMessage message) at Microsoft.Dynamics.GP.eConnect.eConnectMethods.EntityImportImplementation(String connectionString, String sXML, Boolean isTransaction) at Microsoft.Dynamics.GP.eConnect.eConnectMethods.ProcessEntityImport(String connectionString, String sXML, Boolean isTransaction) at Microsoft.Dynamics.GP.eConnect.eConnectMethods.CreateEntity(String connectionString, String sXML) at Microsoft.Dynamics.GP.eConnect.Service.CreateEntity(String ConnectionString, String sXML)
| | | Action: Create Current User Name: Input parameters: Exception type: Microsoft.Dynamics.GP.eConnect.eConnectException Exception message: An item with the same key has already been added. Stack Trace: at Microsoft.Dynamics.GP.eConnect.ServiceProxy.CreateEntity(String connectionString, String xml) at Microsoft.Dynamics.GP.eConnect.eConnectMethods.EntityImportImplementation(String connectionString, String sXML, Boolean isTransaction) at Microsoft.Dynamics.GP.eConnect.eConnectMethods.ProcessEntityImport(String connectionString, String sXML, Boolean isTransaction) at Microsoft.Dynamics.GP.eConnect.eConnectMethods.CreateEntity(String connectionString, String sXML) |