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

Question

Question

Could not load file or assembly 'Laserfiche.HttpClient.dll'

asked on April 20, 2016

Hello Everyone,

I have a Web API that (when deployed to my 64-Bit Win 7 workstation) works fine.  When deployed to a 64-bit Windows Server 2008 R2 Standard, the following error is generated: "System.IO.FileNotFoundException: Could not load file or assembly 'Laserfiche.HttpClient.dll' or one of its dependencies. The specified module could not be found.". 

I have installed the runtime files on the server using the LaserFicheSDKRuntimeInstaller for version 9.2.  I have confirmed that all the LaserFiche dlls referenced in my code are the same version 9.2.  I have tried to generate code for all 3 Visual Studio platform targets: x86, x64 and any CPU.  All three targets work on my workstation but fail on Windows Server 2008 R2 Standard. 

Regards,

Bruce

 

 

0 0

Answer

APPROVED ANSWER
replied on April 20, 2016

You need to ensure the VC runtimes are installed, check out the page 'Deploying Laserfiche SDK Dependencies for .NET/COM Applications' in the locally installed SDK documentation which lists which versions of the VC runtimes are needed for which version of of the SDK libraries. For 9.2, that would be VC++ 2012 u4: https://www.microsoft.com/en-us/download/details.aspx?id=30679

1 0

Replies

replied on April 20, 2016

Hi Justin,

Thank you so much!!  That worked.

 

Regards,

Bruce

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

Sign in to reply to this post.