Steam Function in ACE

Discussion created by tgreen on Apr 23, 2014
Latest reply on Apr 28, 2014 by Gregor

Hi there,




I've implement the Steam functions in to ACE and have things functional in test


Is there a 'special' way to deploy this to the PI server?




I'm using VS.Net 2013


Have PI Steam Table Functions added as a reference (COM)


Have the compile set to x86


Tests perfectly fine and no issues on debug




When run on the server and enabled via ACE Manager, I get this showing up in my logs (Have Try/catch throughout the script)




Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.




Not sure if this is helpful (defaults that were used when added as reference):