Skip to main content
Dynamics 365 Community / Forums / Finance forum / Data upgrade from AX t...
Finance forum
Suggested answer

Data upgrade from AX to D365FO fails at step-3

editSubscribe (1) ShareShare
Posted on by 2
Hi folks!
I am trying to upgrade data from AX 2012 to D365FO - Development environment using Data upgrade package.
Package: AX2012DataUpgrade-10.0.37 (7068.101)
FO version: 10.0.37
I am getting this error, and it fails at step-3

Log level - Error | System.IO.FileNotFoundException: Could not load file or assembly 'Dynamics.AX.ApplicationPlatform, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Dynamics.AX.ApplicationPlatform, Version=, Culture=neutral, PublicKeyToken=null'
   at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
   at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeMethodInfo method, RuntimeType caType, Boolean inherit)
   at System.Attribute.GetCustomAttributes(MemberInfo element, Type type, Boolean inherit)
   at System.Attribute.GetCustomAttribute(MemberInfo element, Type attributeType, Boolean inherit)
   at System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T](MemberInfo element)
   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.FindMethodCore(Type type, String MethodName, Int32 parametersCount, Boolean isStatic)
   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.FindStaticMethod(Type type, String methodName, Int32 parametersCount, Object[] parameters)
   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
   at ScaleUnitInterop.IsScaleUnitFeatureEnabled()
   at gopts(Int32 , Char** )
   at Microsoft.Dynamics.AX.AOS.StartupInternal(String[] Arguments)
   at Microsoft.Dynamics.AX.AOS.Startup()
   at Microsoft.Dynamics.AX.AosConfig.?A0x66ed84b2.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)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM//Software//Microsoft//Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM//Software//Microsoft//Fusion!EnableLog].

Failed operation step '/DataUpgrade/PreReqs/AdditiveDbSync'
Process 'K://AosService//PackagesLocalDirectory//bin//SyncEngine.exe' failed with exit code -1; 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()




  • Suggested answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Data upgrade from AX to D365FO fails at step-3
    You mentioned step 3, but we don't know what step it is. For reference, here is the reference document: Upgrade from AX 2012 to finance and operations - Finance & Operations | Dynamics 365 | Microsoft Learn You can also try again according to the steps mentioned in this document: Troubleshoot upgrades to Dynamics 365 Finance + Operations self-service environments - Finance & Operations | Dynamics 365 | Microsoft Learn
    Also regarding this error you can check out the old thread if it helps: Solved: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Xrm.Sdk.Deployment, Version= (
    Best Regards,

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,080 Super User

Martin Dráb Profile Picture

Martin Dráb 222,601 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans