AnsweredAssumed Answered

PI-ACE 2010R2 + Visual Studio 2013 + Win 2012 R2 Server

Question asked by pmackow on Feb 4, 2015
Latest reply on Feb 11, 2015 by pmackow


Hi all,

 

I installed PI-ACE and VS2013 using tips from KB00740 and the ACE Wizard is visible in VS Menu. The goal is to migrate all VB2008 modules to a new ACE Server.

After problems with migration I tried to identify the cause.

 

The problem seems to be related to ACE Wizard

I can create a new ACE module on edit an existing one (including the warning about missing tags), the VB Editor opens correctly. So far, so good.

Trying to debug the module, even if there is no single row of user-written code, always leads to an exception.

 

Depending on debug setting, it tries to open PIAceUtilityFunctions.VB or simply leaves DOS cmd window open with message

"External component has caused an exception (99).

 

In the output window there is an error message in last row:

 

"PIACEClassLibraryHost.exe" (CLR v2.0.50727: PIACEClassLibraryHost.exe): "C:\Windows\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll" geladen. Das Laden von Symbolen wurde übersprungen. Das Modul ist optimiert, und die Debugoption "Nur eigenen Code" ist aktiviert.

"PIACEClassLibraryHost.exe" (CLR v2.0.50727: PIACEClassLibraryHost.exe): "C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" geladen. Das Laden von Symbolen wurde übersprungen. Das Modul ist optimiert, und die Debugoption "Nur eigenen Code" ist aktiviert.

"PIACEClassLibraryHost.exe" (CLR v2.0.50727: PIACEClassLibraryHost.exe): "C:\Windows\assembly\GAC_MSIL\OSISoft.PIACENet\2.1.50.4__38c1410a641dcae4\OSISoft.PIACENet.dll" geladen. Symbole wurden geladen.

"PIACEClassLibraryHost.exe" (CLR v2.0.50727: PIACEClassLibraryHost.exe): "C:\Windows\assembly\GAC_64\OSIsoft.PISDK\1.3.0.0__c3309f0734ba2805\OSIsoft.PISDK.dll" geladen. Das Modul wurde ohne Symbole erstellt.

"PIACEClassLibraryHost.exe" (CLR v2.0.50727: PIACEClassLibraryHost.exe): "C:\Windows\assembly\GAC_MSIL\mscorlib.resources\2.0.0.0_de_b77a5c561934e089\mscorlib.resources.dll" geladen. Das Modul wurde ohne Symbole erstellt.

Eine Ausnahme (erste Chance) des Typs "System.Runtime.InteropServices.SEHException" ist in OSISoft.PIACENet.dll aufgetreten.

 

The function that causes exception is SetACEAppId(). Further debugging is not possible after this exception.

I tried to experiment with x86/x64/Any Cpu settings, without result.

 

Everything runs under admin account, Windows 2012 R2 64bit, VS2013 Standard

 

Any idea appreciated

Outcomes