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 :
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

I have the same question (0)
  • Suggested answer
    keoma Profile Picture
    32,729 on at

    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

  • NavTech Profile Picture
    2,390 on at

    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.

  • keoma Profile Picture
    32,729 on at

    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.

  • Jatin Patel Profile Picture
    2,641 on at

    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?

  • Suggested answer
    keoma Profile Picture
    32,729 on at

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

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans