I am getting following error while debugging
"The program ' PIACEClassLibraryHost.exe' has exited with code 0 (0x0)."
I am using visual studio 2013 and PI-ACE 2010 SP1
Any ideas on what's going on here?
Unfortunately the error message only states that the application stopped, there's no more information to be read from this.
I would advice you continue debugging and include more debug.writeline commands to see what's going on. Also refer to this blog post for more information on logging in ACE: Logging capabilities in PI Advanced Computing Engine (PI ACE)
Yes, unfortunately that error message is only indicating the result, but gives no insight to the cause.
Was this context ever executing correctly? Have you performed any movements of the contexts to new locations / machines, or made any other changes to the ACE configuration?
Great tip by Asle - I would also agree and recommend trying to step through the code with as much granularity as possible with the debugger and output statements. Have you been able to review the blog post and attempt any of those methods yet?
Retrieving data ...