Computing from Out in Left Field 2018-05-18 17:49:00

This post was kindly contributed by Computing from Out in Left Field - go there to comment and to read the full post.

For setting SAS Options in code, make sure you have the following dlls:
Interop.SAS
SASObjectManager
SASWorkspaceManager
For Interop.SAS, change the property to not Embed Interop Type.. If you don’t do this, you will get the following error:
Unhandled Exception: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {1589F028-0488-11D3-B95F-00C04F81B63A} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

This post was kindly contributed by Computing from Out in Left Field - go there to comment and to read the full post.