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

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

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    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
  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,380 Super User 2025 Season 2 on at
    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
    HV-22051424-0 Profile Picture
    4 on at
    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.
     

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans