Skip to main content

Notifications

Community site session details

Community site session details

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

Error on Upgrading Customized C/AL Application to Microsoft Base Application version 22

(1) ShareShare
ReportReport
Posted on by 4

Hi.

I am trying to run upgrade process from BC 14CU52 into BC 22.7 version. I am getting error on when I tried to run Start-NAVAppDataUpgrade for the Base Application. I attached the all errors from event viewer. We don't have blank profile also. This is the function. Please let me know if you need more detail.

 

procedure DisableBlankProfile()

var

  AllProfile: Record /All Profile/;

begin

  if AllProfile.Get(AllProfile.Scope::Tenant, '63ca2fa4-4f03-4f2b-a480-172fef340d3f', 'BLANK') then

   if AllProfile.Enabled then begin

     AllProfile.Enabled := false;

     AllProfile.Modify();

  end;

end;

////////////

  • Suggested answer
    HV-22051424-0 Profile Picture
    4 on at
    Error on Upgrading Customized C/AL Application to Microsoft Base Application version 22
    But the function is not looking like something to cause an error. Early stage there is upgrade tag control and I run the SetUpgradeTag function for that tag before the upgrade but I am still getting this error message. If you check BC22 codes, you will understand what I mean.
     
  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,314 Super User 2025 Season 1 on at
    Error on Upgrading Customized C/AL Application to Microsoft Base Application version 22
    HI,
     
    in the process while creating table field only apps you have to update the profile to correct references.
     
    Hope you have done so.
     
    I have a 3-part video series of doing this with customization in C/AL. Have a look -
     
     
    Regards,
    Saurav Dhyani
  • Suggested answer
    YUN ZHU Profile Picture
    81,693 Super User 2025 Season 1 on at
    Error on Upgrading Customized C/AL Application to Microsoft Base Application version 22
    Never encountered this problem. However, if it is a Profile problem, you can try importing the standard Profile into the pre-upgrade environment and then test it again.
     
    Hopefully other experts can give you better advice.
     
    Thanks.
    ZHU

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans