tgreen

ACE Debug and Initializing

Discussion created by tgreen on Mar 21, 2014
Latest reply on Mar 25, 2014 by tgreen

I'm baffled and can't seem to get this ACE utility to load and work on my PI server

 

 

 

Any help would be greatly appreciated!

 

 

 

I have a fairly complex script built in ACE.  Works as expected when I test (doing context related links)

 

When I register it to the server and run via ACE manager, it runs for a bit and gets an Error

 

 

 

So I open VS 2013 to 'Debug' via the Wizard.  I get it to go the first time, nothing amiss.  From that point on when I go to Debug via the wizard, I get (in the PIACEClassLibraryHost.exe CMD window

 

0216.Capture.PNG

 

Any ideas on what's going on here?

 

 

 

Here's the paste from the VS output window if that helps:

 

 

 

'PIACEClassLibraryHost.exe' (CLR v2.0.50727: DefaultDomain): Loaded 'C:\Windows\assembly\GAC_64\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: DefaultDomain): Loaded 'C:\Program Files (x86)\PIPC\ACE\Scheduler\PIACEClassLibraryHost.exe'. Cannot find or open the PDB file.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\OSISoft.PIACENet\2.1.50.4__38c1410a641dcae4\OSISoft.PIACENet.dll'. Symbols loaded.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Windows\assembly\GAC_64\OSIsoft.PISDK\1.4.0.0__c3309f0734ba2805\OSIsoft.PISDK.dll'. Module was built without symbols.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Windows\assembly\GAC_64\OSIsoft.PISDKCommon\1.4.0.0__c3309f0734ba2805\OSIsoft.PISDKCommon.dll'. Module was built without symbols.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Windows\assembly\GAC_64\CustomMarshalers\2.0.0.0__b03f5f7f11d50a3a\CustomMarshalers.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Program Files (x86)\PIPC\ACE\ClassLibraries\GAS_CALCS\bin\Debug\GAS_CALCS.dll'. Symbols loaded.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Windows\assembly\GAC_64\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'PIACEClassLibraryHost.exe' (CLR v2.0.50727: PIACEClassLibraryHost.exe): Loaded 'C:\Windows\assembly\GAC_64\OSIsoft.PITimeServer\1.4.0.0__c3309f0734ba2805\OSIsoft.PITimeServer.dll'. Module was built without symbols.
A first chance exception of type 'System.Collections.Generic.KeyNotFoundException' occurred in System.dll
A first chance exception of type 'System.BadImageFormatException' occurred in GAS_CALCS.dll
The program '[3688] PIACEClassLibraryHost.exe' has exited with code 0 (0x0).

Outcomes