Hi, Gregor, Thank you very much!!!
So in summary - for anyone who is having the same difficullties - for Starting context, module, executable you should set its Status code to ... Off
Here is my code:
private void StartACEMdbObject(string mdbObjectPath)
From my point of view there is an important aspect missing with your summary.
Before I get any further, please note that what I am about to write is not a documented feature and therefore is not supported through our regular channels such as Tech Support. Also, since this meant as an internal call rather than a publicly available one, please note there is no guarantee that this will continue to work in future versions of PI ACE - make sure you test this thoroughly before to upgrade PI ACE in the future.
With that said (and if you are fine with my previous paragraph ), you can use the ChangePIACEEMCStatus method that's part of the PIACECommon namespace (which means your ACE program will need reference the OSIsoft.PIACECommon assembly as well). The ACE executable/module/context should be registered by the PI ACE Wizard so that the structural information is present in th PI Module Database.
Thank you for the remark!