Announcements
No record found.
I created a new cloud hosted environment, for this purpose, I've been following these steps:
Upgrade from AX 2012 - Data upgrade in development environments - Finance & Operations | Dynamics 365 | Microsoft Learn
I skipped code upgrade, because for this purpose It wont be needed
But running from begginig, I got the same error System.IO.FileNotFoundException: Could not load file or assembly 'System.ValueTuple, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
After I created the new environment, I used the same database I was using, removed the .bak and restored it.
#Edit the Drive details below (C: for VHD, K: normally for CHEs)
Copy-Item -Path "C:\AOSService\webroot\Bin\System.ValueTuple.dll" -Destination "C:\AOSService\PackagesLocalDirectory\bin" -Force
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at gopts(Int32 , Char** ) at Microsoft.Dynamics.AX.AOS.StartupInternal(String[] Arguments) at Microsoft.Dynamics.AX.AOS.Startup() at Microsoft.Dynamics.AX.AosConfig.?A0x4463d7bd.GetAosConfig() at Microsoft.Dynamics.AX.AosConfig.Config.InitInternal() at Microsoft.Dynamics.AX.AosConfig.Config.InitOnce(Boolean isOfflineMode) at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.StartAosCode(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider) at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.ExecuteWithinAOS(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider, Func`1 func, Action`1 errorHandler) at Microsoft.Dynamics.AX.Framework.Database.Tools.LegacyCodepath.RunFullTableSync(SyncOptions syncOptions, String sqlConnectionString, IMetadataProvider metadataProvider) at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.AdditiveAllTableSync() at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.AdditiveTableSync() at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.RunSync() at Microsoft.Dynamics.AX.Framework.Database.Tools.SyncEngine.Run(String metadataDirectory, String sqlConnectionString, SyncOptions options) at Microsoft.Dynamics.AX.Framework.Database.SyncEngineMain.Sync(Parameters parameters) at Microsoft.Dynamics.AX.Framework.Database.SyncEngineMain.Main(String[] args) Failed operation step '/DataUpgrade/PreReqs/AdditiveDbSync' Process 'C:\AosService\PackagesLocalDirectory\bin\SyncEngine.exe' failed with exit code -2146232797; see error logs for details. at Microsoft.Dynamics.Servicing.DataUpgrade.Operations.Operation.RunProcess(String fileName, ArgumentsBuilder args) at Microsoft.Dynamics.Servicing.DataUpgrade.Operations.OperationStep.Execute()
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 616
André Arnaud de Cal... 460 Super User 2026 Season 1
Syed Haris Shah 331 Super User 2026 Season 1