tgreen

Odd ACE Actions

Discussion created by tgreen on Mar 26, 2014
Latest reply on Mar 31, 2014 by Gregor

My ACE calculations that I've built won't run on their own, they do function when I do a recalculation for the last hour fine.

 

 

 

Looking at the logs, there's a few things going on.  One that seems to be an issue is this:

 

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.

 

Any ideas on where this may be?  I can't find it

 

 

 

also get this for a different calc

 

There is already an open DataReader associated with this Command which must be closed first.

 

I'm assuming this may be referring to my external SQL server connection I've made for logging various non-PI items.  I'm in the process of searching that out, but if it could be something else, please let me know what to look for!

 

 

 

Thanks in advance!!!

Outcomes