Skip to main content

Notifications

Business Central forum
Unanswered

Getting Start-Navappdataupgrade error in BC22

Posted on by 53
Getting below error while upgrading base application
 
Start-NAVAppDataUpgrade : Could not upgrade the extension 'Base Application' by 'Microsoft' from version '18.2.241521.0' to '22.1.241901.0' for tenant 'default' and company '' due to the following error: 'An
unexpected error occurred after a database command was cancelled.' and AL stack trace:
"Upgrade Plan Permissions"(CodeUnit 104030).AddPermissionSetToUserGroup line 6 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).CreateMicrosoft365Permissions line 18 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).RunUpgrade line 15 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).OnUpgradePerDatabase line 2 - Base Application by Microsoft
"Upgrade Triggers"(CodeUnit 2000000008).OnUpgradePerDatabase(Event) line 2

Event viewer:
 
 
 
Statement: SELECT "2000000004"."timestamp","2000000004"."Role ID","2000000004"."Name","2000000004"."Hash","2000000004"."$systemId","2000000004"."$systemCreatedAt","2000000004"."$systemCreatedBy","2000000004"."$systemModifiedAt","2000000004"."$systemModifiedBy" FROM "SQLDATABASE".dbo."Permission Set" "2000000004" WITH(READUNCOMMITTED) ORDER BY "Role ID" ASC OPTION(FAST 50)
AppObjectType: CodeUnit
AppObjectId: 104030
AL CallStack: "Upgrade Plan Permissions"(CodeUnit 104030).AddPermissionSetToUserGroup line 6 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).CreateMicrosoft365Permissions line 18 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).RunUpgrade line 15 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).OnUpgradePerDatabase line 2 - Base Application by Microsoft
"Upgrade Triggers"(CodeUnit 2000000008).OnUpgradePerDatabase(Event) line 2
 
RootException: SqlException
Invalid column name '$systemCreatedAt'.
Invalid column name '$systemCreatedBy'.
Invalid column name '$systemModifiedAt'.
Invalid column name '$systemModifiedBy'.
Categories:

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,480 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,388 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans