You are viewing limited content. For full access, please sign in.

Question

Question

Side-by-side configuration error

SDK
asked on March 4, 2015

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.

0 0

Replies

replied on March 6, 2015

Hey Phil,

Before we go too much down the rabbit hole of trying to debug WinSxS errors, is there a reason you need to use lfso90? Lfso92 should be fully compatible with v9.0 Lf Servers (provided you don't try to call any functions that are newer) and does not rely on WinSxS components at all. That also makes it simpler to manage and deploy the integration as well. You should be able to just try recompiling your app against lfso92 - you shouldn't need to rewrite anything. 

0 0
replied on March 16, 2015

Thanks Justin,

I always like simple. I will give that a shot, I do not have any methods that require 9.2 functionality.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.