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

Question

Question

Could not load file or assembly 'Laserfiche.HttpClient.dll' or one of its dependencies.

asked on June 22, 2016

One of our applications uses Repository Access 10.0 and we have decided to include the merge modules as part of our installation instead of relying on installing the runtime separately.

Our application is built for 32-bit but can be installed on 32-bit or 64-bit machines. The RA documentation said to include the following merge modules, which we have:

  • LFNet4SDK100-Win32.msm
  • ICU551-Win32.msm
  • ICU551SxS-Win32.msm
  • LfWicUtil100_Win32.msm
  • Net4LaserficheImaging100_Win32.msm
  • iTextAsian.msm
  • iTextSharp417.msm
  • TextProvider100-Win32.msm

 

However, we are getting this error:

"Could not load file or assembly 'Laserfiche.HttpClient.dll' or one of its dependencies. The specified module could not be found."

Did we miss a necessary merge module, or do we need to have separate installers for 32-bit and 64-bit platforms, or should we include both 32-bit and 64-bit versions of the merge modules in the same installer, or is there a different solution to this issue?

Thank you.

0 0

Answer

SELECTED ANSWER
replied on June 22, 2016

You also need the VC runtimes. Check out the 'Deploying Laserfiche SDK Dependencies for .NET/COM Applications' page in the help files and there should be a table (with links) of what runtime dependencies are required. 

0 0
replied on June 22, 2016

Looks like it was the VC++ 2015 Redistributable needing to be installed. I had to install the 32-bit version (x86) since our program is compiled for 32-bit. Thank you!

 

Download here:

https://www.microsoft.com/en-us/download/details.aspx?id=48145

0 0
replied on August 10, 2016 Show version history

I have the same problem in Windows Server 2012 RC2. I have laserfiche SDK 10 installed, VC++ 2015 Redistributable installed. In my GAC all the files are there. 

0 0

Replies

You are not allowed to reply in this post.
replied on June 22, 2016

The 64-bit/32-bit difference refers to the process, which is not necessarily the same as the machine architecture.  If your application really does run as a 32-bit process on a 64-bit machine/OS then the 64-bit components are not required.  Task Manager can show you if the process is 32-bit or 64-bit.

You are not allowed to follow up in this post.

Sign in to reply to this post.