web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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 98

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?

  • SunilSharma Profile Picture
    98 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,813 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
    9,370 Super User 2026 Season 2 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
    98 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 532 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 351 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 195

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans