AnsweredAssumed Answered

How to deploy an application, which was built using PISDK.PISDKClass?

Question asked by egerpaul on Mar 24, 2015
Latest reply on Mar 25, 2015 by Eugene Lee

I successfully build an application using PISDK's PISDK class.


But I am unable to run the application on a target machine.


The target machine does not have a PI-SDK installed.


However I included the following DLLs (64-bit) on the target's execution path

  • Interop.PISDK.dll
  • Interop.PISDKCommon.dll
  • Interop.PITimeServer.dll


Note: the application was built using x64 (also 64-bit OsiPi DLLs).


Do I need to install the SDK on the target machine?

Or do I need to register an OsiPi COM DLL?



A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in OsiPi.dll


Additional information: Retrieving the COM class factory for component with CLSID {3BCB2DC2-5F66-11D1-BD64-0060B0290178} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).