D365 Commerce and AX 2012

Real-time service: cached X++ code

Description


Code changes done in X++ standard methods of RetailTransactionService* classes or added new methods in RetailTransactionServiceEx class are not visible by Real-Time Service – it stills executes an old code.


Possible solutions


  1. Generate incremental CIL (sometimes full CIL) – this is a ‘must do’ step, because all Real-time service calls are executed in CIL;
  2. Restart Real-time service web site and application pool in IIS;
  3. Restart Windows Process Activation service on the machine where Real-time service web site is installed.
Blog