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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Data Upgrade ax12 to d365 missing dll

(1) ShareShare
ReportReport
Posted on by 2
I'm performing the data upgrade process within a VHD pointing to a database. While executing the process, I'm stuck on step 3. I get the following error about a missing DLL. I couldn't find anything related. All .NET versions are up to date.
 
Log level - Error |     Inner Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'
   at Microsoft.Extensions.Logging.LoggerFactory.RefreshFilters(LoggerFilterOptions filterOptions)
   at Microsoft.Dynamics.Ax.Core.Instrumentation.CoreFrameworkLoggerFactory.InitializeLoggerFactory(IApplicationEnvironment applicationEnvironment)
   at Microsoft.Dynamics.Ax.Core.Instrumentation.CoreFrameworkLoggerFactory.<>c.<.cctor>b__25_0()
   at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Lazy`1.get_Value()
   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper..cctor()
=== Pre-bind state information ===
LOG: DisplayName = System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
 (Fully-specified)
LOG: Appbase = file:///C:/AosService/PackagesLocalDirectory/bin/
LOG: Initial PrivatePath = NULL
Calling assembly : System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\AosService\PackagesLocalDirectory\bin\SyncEngine.exe.Config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
LOG: Attempting download of new URL file:///C:/AosService/PackagesLocalDirectory/bin/System.Private.CoreLib.DLL.
LOG: Attempting download of new URL file:///C:/AosService/PackagesLocalDirectory/bin/System.Private.CoreLib/System.Private.CoreLib.DLL.
LOG: Attempting download of new URL file:///C:/AosService/PackagesLocalDirectory/bin/Resources/System.Private.CoreLib.DLL.
LOG: Attempting download of new URL file:///C:/AosService/PackagesLocalDirectory/bin/Resources/System.Private.CoreLib/System.Private.CoreLib.DLL.
LOG: Attempting download of new URL file:///C:/AosService/PackagesLocalDirectory/bin/System.Private.CoreLib.EXE.
LOG: Attempting download of new URL file:///C:/AosService/PackagesLocalDirectory/bin/System.Private.CoreLib/System.Private.CoreLib.EXE.
LOG: Attempting download of new URL file:///C:/AosService/PackagesLocalDirectory/bin/Resources/System.Private.CoreLib.EXE.
LOG: Attempting download of new URL file:///C:/AosService/PackagesLocalDirectory/bin/Resources/System.Private.CoreLib/System.Private.CoreLi
 
I have the same question (0)
  • Martin Dráb Profile Picture
    235,924 Most Valuable Professional on at
    Data Upgrade ax12 to d365 missing dll
    Well, it looks like your environment doesn't have the correct version installed; trying to fix it by copying individual files doesn't sound like a good approach to me.
     
    First of all, are you sure that you're following the right documentation page? Do you an F&O environment on-premises? Note I don't mean a VHD; this is about a production environment hosted an a set of your own servers, with Service Fabric and such things. If not, the page you need is likely Upgrade from AX 2012 - Data upgrade in development environments. If you don't have an on-premises environment, the whole process at Data upgrade process for AX 2012 to Dynamics 365 Finance + Operations (on-premises) doesn't apply to you.
     
    By the way, you didn't mention anything about code upgrade. Have you completed it or is it OK for you to lose all data related to customizations?
  • Calleb Malinoski Profile Picture
    2 on at
    Data Upgrade ax12 to d365 missing dll
    I am using a VHD pointing to my database, following the documentation below: https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/migration-upgrade/on-prem-upgrade-2012.
     
    The problem is happening after running 
     
    .\AXUpdateInstaller.exe execute -runbookid="MajorVersionDataUpgrade-runbook"
     
    In step 3 at this point.
    Failed operation step '/DataUpgrade/PreReqs/AdditiveDbSync'
     
    The first problem I had was with 
     

    Log level - Error |     Inner Exception: 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.
    File name: 'System.ValueTuple, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
     
     
    I copy/paste the dll from a dotnet package, then I got the PrivaveCoreLib problem, but the main problem is all that ddl's missing.
  • Martin Dráb Profile Picture
    235,924 Most Valuable Professional on at
    Data Upgrade ax12 to d365 missing dll
    Can you please clarify what you were doing when you got the error? We are bringing various ideas but we're merely guessing what you're doing, such as whether you're trying to debug code.
     
    The stack trace shows that the assembly is trying to being found in PackagesLocalDirectory, which I understood as a problem with X++ packages. But it might also have something to do with the Visual Studio extension, as Navtheen suggests.
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,156 Super User 2025 Season 2 on at
    Data Upgrade ax12 to d365 missing dll
    Hi CU04092016-0,
     
    System.Private.CoreLib.dll is a part of the DevToolsService component and sits under DevToolsService\Code\DebuggerProxy. Looks like the DevToolsService is corrupted or needs a re-provisioning.
     
    A few questions:
    1. Are you able to build models under Visual Studio?
    2. Do you see any DB Sync issues?
    3. Is this a Cloud based VHD or an On-Premise VHD?
     
    Hope this helps. Happy to answer questions, if any. 
  • Martin Dráb Profile Picture
    235,924 Most Valuable Professional on at
    Data Upgrade ax12 to d365 missing dll
    As far as I know, it's a .NET Core library and therefore it can't be used in F&O, which is built on .NET Framework, not .NET Core. I guess you make a mistake when upgrading your code and added a reference to a .NET Core assembly. It's now trying to locate .NET Core runtime assemblies, which can't succeed.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 775 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 634 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans