Dear Members,
I have been facing this issue "Argument Exception - An item with the same key has already been added" during integration process in management reporter CU16 version from AX 2012 R3. I have mentioned the detailed log file below:
07/01/2019 12:15:13: task acc589bf-6978-4451-b476-1c428473d860 is Faulted
07/01/2019 12:15:13: task 1e81959a-e167-490a-9b43-d0ded3d5a4b4 is RanToCompletion
VERBOSE TID:TP-10 [2019-07-01T16:15:13.9258888+04:00]: Completed: 0 recor04:29 PM 01/07/2019d(s) have been written. 0 record(s) have been deleted. 0 record(s) have failed. 0 record(s) were filtered. Total runtime was 11 seconds.
VERBOSE TID:TP-11 [2019-07-01T16:15:14.7696496+04:00]: [AX 2012 Dimension Values to Dimension Value] with MapId [6e1e0edb-6728-4d2c-b837-bb0007cd6ec0] is searching for DELETE keys using 07/01/2019 12:10:01 as last change.
VERBOSE TID:TP-11 [2019-07-01T16:15:14.7852736+04:00]: [AX 2012 Dimension Values to Dimension Value] DELETE returned no records to process.
I would appreciate your thoughts to help me rectify this issue.
Thanks,
*This post is locked for comments
Dear Ludwig,
I finally managed to resolve this issue. I would like to post the resolution here as it would be helpful for others or for future reference. We used SQL Server profiler to identify the transactions executing during integration process. We found some details during integration were fetched using "HcmWorkerDetailsView" in AX 2012, which had a duplicate record for an employee(worker). We removed the duplicate record and the issue got resolved.
Thanks,
Vidya
Is there any tool to check AX data for MR ?
Hi,
I would recommend contacting the MS support in this case.
Best regards
Ludwig
I have separate MR installation for each server. With latest cu16 updates
Hi,
Do you have separate MR installations for all of your machines? Trying to integrate different test / dev ... boxes on one single MR does usually not work.
Best regards
Ludwig
Hi
Yes I have done both reset and search for hotfix . But no luck .
We believe the issue due to some data from Ax as we restore the live transaction database to development server then the same issue start appearing in development where previously was not.
We notice in the data mart that accouns types not updated in table and somr attributes type not coming.
I am not sure if the reason could be changing the COA Structure or change some accounts type or even users
Below part of the error trace
Microsoft.Dynamics.Integration.Adapters.AX2012GL.AccountObjectProvider.CreateWorkerDictionary(AX2012GLAdapter adapter)
It shows CreateWorkerDictionary
Thanks
Hi Sharif,
Have you already reset the datamart and have you checked LCS for available hotfixes?
Best regards
Ludwig
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156