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 :
Finance | Project Operations, Human Resources, ...
Answered

upgrade to 10.0.30 on cloud hosted VM fails: GlobalUpdate script for service model: AOSService on machine

(0) ShareShare
ReportReport
Posted on by 96

When trying to update a cloud hosted VM for FnO development to service update 10.0.30, it fails at step 25 with following message.

GlobalUpdate script for service model: AOSService on machine: xxxx

Error i found in runbook logs is:

12/19/2022 12:27:55: System.AggregateException: One or more errors occurred. ---> Microsoft.Dynamics.AX.Metadata.MetadataCorruptedException: The field 'IsPaymentCaptured' on the extension 'RetailTransactionPaymentLineV2Entity.BHDevelopment' already exists. This extension cannot be applied to the base element.
at Microsoft.Dynamics.AX.Metadata.Storage.ErrorReportingHelper.ThrowOrAddError(String extensionTypeName, String extensionName, String message, IList`1 applyErrors)
at Microsoft.Dynamics.AX.Metadata.Storage.ErrorReportingHelper.ThrowExtensionDuplicateFieldException(ISingleKeyedMetadata`1 extension, String fieldName, IList`1 applyErrors)
at Microsoft.Dynamics.AX.Metadata.Storage.MemoryProvider.ExtensionAppliers.ApplyExtensionFields(AxDataEntityView dataEntityView, AxDataEntityViewExtension extension, IList`1 applyErrors)
at Microsoft.Dynamics.AX.Metadata.Storage.Runtime.MetaDataEntityViewWithExtensionRuntimeProvider.ApplyOneExtension(AxDataEntityView metadata, AxDataEntityViewExtension extension)

Is there a way to fix this. Since this is a platform update, so i am not sure why should this come here?

I have the same question (0)
  • SunilSharma Profile Picture
    96 on at

    I managed to fix this error, by deleteing the custom models and then applying the platform update 10.0.30. But now i face new issue with timeout :

    Script: InventSysSetup failed to execute successfully, and the exception is System.AggregateException: One or more errors occurred. ---> Microsoft.Dynamics.Ax.Xpp.TimeoutException: Exceeded the execution time limit for the script: InventSysSetup

  • Suggested answer
    huijij Profile Picture
    19,811 on at

    Hi SunilSharma,

    Please delete the extension and run a full compile and perform a database sync to try again.

  • Deepak Agarwal Profile Picture
    8,602 on at

    Have you tried to debug the error, which says, "RetailTransactionPaymentLineV2Entity.BHDevelopment' already exists."

    Varify if the environment is fully compiled and synched without any errors. You must be good.

  • Verified answer
    SunilSharma Profile Picture
    96 on at

    I managed to fix this issue.

    Found out that need to have an entry for a timeout in the below table.

    INSERT INTO DBO.SYSFLIGHTING (FLIGHTNAME, ENABLED, FLIGHTSERVICEID) VALUES ('DbSyncSysSetupTimeoutKillSwitch', 1, 12719367)

    This solved the issue.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 499 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans