Compiler Errors Hints

Updated: 20.05.2015

Some errors you can face while compiling CIL in DAX 2012.

1) Error thrown after compiling one of queries
Description Path Line Method/Property name Diagnostic ID 
Invalid field 'Status' in data source. \Queries\FdwINVOIC\Data Sources\EnvelopeTable(FdwEnvelopes)  EnvelopeTable Err:327 
Invalid field 'Status' in data source. \Queries\FdwINVOIC\Data Sources\EnvelopeTable(FdwEnvelopes)\Data Sources\MessageTable(FdwMessageTable)  MessageTable Err:327 

Error 327.
The reason was that datasource's range's 'Field' property was empty. Filling property's value helps to avoid this error.

2) After CIL generation there are a lot of 371 errors. But if you try simple objects compilation there are no errors. Here is a hint:

  • Stop the AOS
  • Delete all files (except subdirectories) in "C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL" folder
  •  (make a folder's backup just in case)
  • Start AOS
  • Start full compilation again
  • Start full CIL generation again
 

Other blog posts

11.01.2018
How small business shall work with major contracts. Opinion of Ruslan Kafiatullin from Neti Projects from scratch are always riskyAs a rule, implementation projects from scratch are always...
14.11.2017
Why outsourcing company is more effective than In-house IT-specialists There are situations when in-house specialists spend most of their time awaiting requests or they cannot get their work...
26.09.2017
Microsoft Dynamics AX program decisions are constantly improving. At first, innovations come to European companies, and only after that to Russian enterprises.We aspire to be one step ahead in this...

Subscribe for blog updates

Get updated with our blog new articles via your email!


Subscribe now