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)

Upgrade NAV 2015 to NAV 2018

(0) ShareShare
ReportReport
Posted on by

Hello

We are currently updating our NAV 2015 to NAV 2018 (CH).

I am stuck at task 14 (https://docs.microsoft.com/en-us/dynamics-nav/upgrading-the-data) where I have to run the data upgrade

I get the following error:

DataUpgrade.png

When I check the suggested Powershell Command, I can see several error messages called:

Error : Function 'UpdateSalesIcons' in the upgrade codeunit '104000' has failed because of the following
error: 'The server stopped the session (ID: 455) because of a stop session request.'.

 

There are some more errors with this message. One complete session message looks like that:

SessionId : 449
CodeunitId : 104000
FunctionName : CreateJobWebServices
CompanyName : COMPANY
StartTime : 20.04.2018 19:04:26
Duration :
State : FailedPendingResume
Error : The function CreateJobWebServices in the company initialization codeunit 104000 in company
COMPANY has failed due to the following error: 'The server stopped the session
(ID: 449) because of a stop session request.'.
ExecutionSourceId : 00000000-0000-0000-0000-000000000000
PostUpgrade : False

I imported all the modified objects and the Upgrade8001100.FOB file. I already restarted the NAV Instances, but no luck.

Did I miss something?

Thank you very much.

Best regards

Raphael

*This post is locked for comments

I have the same question (0)
  • Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    how much time it took to get this error?

    if I remember correctly then there is a query timeout setting in SQL set to 30min or so. Please increase that and see..

  • Community Member Profile Picture
    on at

    Hello

    I click on Start and then the error appears immediately.

    Can I somehow restart the upgrade completely? It seems that the percent counter is directly at ~80% and the Stop and Start seems not to work.

    Thank you.

    Best regards

    Raphael

  • Verified answer
    alan.butterfield Profile Picture
    on at

    Use switch -FunctionExecutionMode Serial -Force with Start-NavDataUpgrade

  • Community Member Profile Picture
    on at

    Thanks, this looks a little bit better, now I see the following error:

    The function UpdateItem in the company initialization codeunit 104000 in company COMPANY has failed due to the following error: 'The UPG Item does not exist. Identification fields and values: No.='A10001''.

    When I try to sync the schema with validation, I can see the same error with the state: OperationalWithDataUpgradeFailure.

    Any idea?

    Thanks.

  • Community Member Profile Picture
    on at

    Seems to be a problem of the sync with force.. I did that before, as I got some failures while doing it with validation.

    It seems that I have to do the steps in a new database again.

  • Community Member Profile Picture
    on at

    Hello again

    I've done the sync with validation and now I get the following message while upgrading:

    SessionId         : 1231

    CodeunitId        : 104000

    FunctionName      : UpdateItem

    CompanyName       : COMPANY

    StartTime         : 20.04.2018 22:47:19

    Duration          :

    State             : FailedPendingResume

    Error             : The function UpdateItem in the company initialization codeunit 104000 in company COMPANY has

                       failed due to the following error: 'Unable to upgrade Item Category  because of Code duplication.

                       Please make sure that this Item Category has a unique Code, and retry the upgrade.'.

    ExecutionSourceId : 00000000-0000-0000-0000-000000000000

    PostUpgrade       : False

    What does that mean? There is just one line in the database.

    Thanks.

  • Community Member Profile Picture
    on at

    Hey,

    how many company there are in db? Is Item category table common for all companies?

  • Community Member Profile Picture
    on at

    Hello

    There are 6 companies in the db. The item category table is empty for 5 companies, but in the failing company, there is the following line:

    timestamp Code Parent Category Description Indentation Presentation Order Has Children Last Modified Date Time Id

    0x0000000001CD5076 0 0 0 1753-01-01 00:00:00.000 00000000-0000-0000-0000-000000000000

    The columns are the same for every company.

    May I just delete this item category?

  • Verified answer
    Community Member Profile Picture
    on at

    Seems a non standard table... If you have only that record and isn't used in item table (Table 27 - item category field is related to this table), delete the record and restart upgrade

  • Community Member Profile Picture
    on at

    Alright, I will check that, thank you.

    (I made another mistake, so I'll start over)

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)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans