AX1004 error in Dynamics AX

I got this error at version Dynamics 2012 R3 CU9, SQL Server 2014, Windows Server 2012 R2.

Those kind of errors will come when you move report from Dev Server to Live Server, even compilation in DP Class, Query, Contract, table … without any error

AX1004: Reference System.Core, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089 was not a valid model assembly.

MSB3644: The reference assemblies for framework “.NETFramework,Version=v4.0” were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK


There is no reference Assemblies Version 4.0 under C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework on Windows Server 2012 R2 (only Version 4.5 it have)


Copy those Assemblies from your any where (Windows 7,8,10) to Server

Restore and compile again.

Thank you for reading!

Max Nguyen

Max Nguyen
D365/AX, Azure Solution Architech - currently living and working in Seoul :)

Exception Handling in Dynamics 365 For Finance and Operation

When we write a code, or make a customization to Dynamics 365 For Operation which is using X++ should make use of Exception Handling to p...… Continue reading

Basic C# OOP Concept

Published on April 10, 2017