Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

error in data upgrade

(0) ShareShare
ReportReport
Posted on by 2,390

I am getting below error during data upgrade from 2009 to 2015

Compilation of assembly 'C:\ProgramData\Microsoft\Microsoft Dynamics
NAV\80\Server\MicrosoftDynamicsNavServer$ProductionDB\assembly\Codeunit104049_349.dll' failed. This can
be caused by differences between binaries in your installation or your database. Ensure that all
installation components are consistent and up to date. Error details:
c:\ProgramData\Microsoft\Microsoft Dynamics
NAV\80\Server\MicrosoftDynamicsNavServer$ProductionDB\source\Codeunit\Codeunit104049.cs(49,27) : error
CS1502: The best overloaded method match for 'Microsoft.Dynamics.Nav.Runtime.NavArray<Microsoft.Dynamic
s.Nav.Runtime.NavText>.NavArray(Microsoft.Dynamics.Nav.Runtime.NavText, params int[])' has some
invalid arguments
c:\ProgramData\Microsoft\Microsoft Dynamics
NAV\80\Server\MicrosoftDynamicsNavServer$ProductionDB\source\Codeunit\Codeunit104049.cs(49,49) : error
CS1503: Argument 1: cannot convert from 'Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104049' to
'Microsoft.Dynamics.Nav.Runtime.NavText'
c:\ProgramData\Microsoft\Microsoft Dynamics
NAV\80\Server\MicrosoftDynamicsNavServer$ProductionDB\source\Codeunit\Codeunit104049.cs(49,54) : error
CS1503: Argument 2: cannot convert from 'Microsoft.Dynamics.Nav.Runtime.NavText' to 'int'
c:\ProgramData\Microsoft\Microsoft Dynamics
NAV\80\Server\MicrosoftDynamicsNavServer$ProductionDB\source\Codeunit\Codeunit104049.cs(50,30) : error
CS1502: The best overloaded method match for 'Microsoft.Dynamics.Nav.Runtime.NavArray<Microsoft.Dynamic
s.Nav.Runtime.NavText>.NavArray(Microsoft.Dynamics.Nav.Runtime.NavText, params int[])' has some
invalid arguments
c:\ProgramData\Microsoft\Microsoft Dynamics
NAV\80\Server\MicrosoftDynamicsNavServer$ProductionDB\source\Codeunit\Codeunit104049.cs(50,52) : error
CS1503: Argument 1: cannot convert from 'Microsoft.Dynamics.Nav.BusinessApplication.Codeunit104049' to
'Microsoft.Dynamics.Nav.Runtime.NavText'
c:\ProgramData\Microsoft\Microsoft Dynamics
NAV\80\Server\MicrosoftDynamicsNavServer$ProductionDB\source\Codeunit\Codeunit104049.cs(50,57) : error
CS1503: Argument 2: cannot convert from 'Microsoft.Dynamics.Nav.Runtime.NavText' to 'int'

*This post is locked for comments

  • Suggested answer
    keoma Profile Picture
    32,727 on at
    RE: error in data upgrade

    as jatin suggests retry using the upgrade objects from folder "local objects" instead.

  • Jatin Patel Profile Picture
    2,641 on at
    RE: error in data upgrade

    Hi,

    Codeunit 104049 is Upgrade Toolkit object. Which localization you are using? Have you imported upgrade toolkit objects from "Data Conversion Tools" or "Local Objects" folder of product dvd?

  • keoma Profile Picture
    32,727 on at
    RE: error in data upgrade

    check the local and global variables which are defined as array of type text with defined dimension if they are all defined correctly. maybe helpful: export as text and check.

  • NavTech Profile Picture
    2,390 on at
    RE: error in data upgrade

    CU10409 is compiled. I am using Nav 2015 (8.00.38798). This error occur at step 2 that is data upgrade. There is not custom code written in CU10409.

  • Suggested answer
    keoma Profile Picture
    32,727 on at
    RE: error in data upgrade

    first edit cu CU104049 and try to compile it.

    do you use nav 2015 with the highest build number ?

    did that occur in step 1 or 2 ?

    check CU104049: search for a function call with an array. if there is custom code, remove it or comment it out. then try again.

    follow community.dynamics.com/.../nav-2013-amp-later-differences-between-binaries-in-your-installation-or-your-database

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans