TwinCAT CNC - Win32 Error 577

Hi all,
I'm new to the forum and rather new to the whole twincat environment.
I'm trying to set up a bunch of CNC axes using the XAE shell and a CX industrial pc I'm having the following issue:
whenever I try to switch from config mode to run mode, I get this message


This happens as soon as I add a CNC module to the Motion folder, and the problem is raised only when running in the local environment (if I connect over to the CX pc, it doesn't complain).

Did anyone already experience such a thing, and maybe found a solution?