I have created a class library using the LF.net SDK which functions perfectly. However my client needs me to use com object because of a Legacy app that cannot access .net. So I have recreated the DLL using the com objects LFSO90, and when trying to create the LFApplication object I get the following error.
Retrieving the COM class factory for component with CLSID {F2AA5ECF-C6DB-4792-B062-5D4B55DE263B} failed due to the following error: 800736b1 The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1).
According to the expanded error
Activation context generation failed for "C:\Program Files\Common Files\Laserfiche\LFObjects\LFSO90.dll". Dependent Assembly libxml2,language="*",processorArchitecture="amd64",publicKeyToken="c9173f2a5647b0d5",type="win32",version="2.8.0.0" could not be found. Please use sxstrace.exe for detailed diagnosis.
According to Microsoft to fix this all I need to do is add a registry setting to the side-by-side configuration with the correct version fo the LFSO90.dll which according to the error is 2.8.0.0.
As I have never run into this error before I am wondering if I have the wrong version of the 9.0 SDK loaded. Any assistance you can provided would be great.