web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

An item with the same key has already been added. Key: 00000000-0000-0000-0000-000000000000'

(4) ShareShare
ReportReport
Posted on by 192
Hello Experts,

I am trying to upgrade from BC23 (23.9.21328.0) to BC24(24.4.22295.22925).

however when i do a navdataupgrade for System application I get below error:
'System Application' by 'Microsoft' from version '23.9.21328.0' to '24.4.22295.22925' for tenant 'default' and company 'BAKC' due to the
following error: 'An item with the same key has already been added. Key: 00000000-0000-0000-0000-000000000000'.
 

I have followed all the process , but got stuck here:
Start-NAVAppDataUpgrade -ServerInstance BC240 -Name "System Application" -Version 24.4.22295.22925 -SkipVersionCheck
Install-NAVApp -ServerInstance BC240 -Name "Business Foundation" -Version 24.4.22295.22925
Start-NAVAppDataUpgrade -ServerInstance BC240 -Name "Base Application" -Version 24.4.22295.22925 -SkipVersionCheck
Start-NAVAppDataUpgrade -ServerInstance BC240 -Name "Application" -Version 24.4.22295.22925 -SkipVersionCheck
 
Any idea how to fix it.
Thanks
 
Varun Tripathi
I have the same question (0)
  • CF-04101727-0 Profile Picture
    8 on at
    Hi Varun, I encountered the same error during a migration from NAV2016 to BC24.4
    I solved the issue by populating the "Id" field via SQL in the "Company" table. It is sufficient to insert random GUIDs in this field
    Regards
      Claudio
  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    Hello,

    Thanks for sharing the details of your upgrade process.

    The error "An item with the same key has already been added" typically indicates a duplicate GUID or object reference in the upgrade path, often caused by:

    • Conflicting extensions or apps already installed with overlapping keys.
    • A corrupted or incomplete uninstall of a previous version.
    • A mismatch in the upgrade sequence or skipped dependencies.

    Here are a few suggestions to resolve it:

    1. Check for duplicate app entries in the NAV App Management tables using PowerShell or SQL.
    2. Uninstall and clean up any residual apps before re-running the upgrade commands.
    3. Make sure you're using the correct version syntax and that all dependencies (System Application, Business Foundation, Base Application) are properly aligned.
    4. Try running the upgrade with -Force and -SkipVerification flags if applicable, but only after confirming the environment is safe.

    Also, verify that the System Application is not already installed with the same key in another tenant or company context.

    Let me know if this helps!

    Was this response helpful? Feel free to mark it as such or reply with more details if needed.

    Best regards,
    Daniele

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans