could not load file or assemble

The PDF Creator .NET Library enables you to create secure PDF documents on the fly and to view, print and process existing PDF documents. If you have any questions about PDF Creator .Net, please post them here.
Post Reply
jreeves2
Posts: 2
Joined: Thu May 07 2009

could not load file or assemble

Post by jreeves2 » Fri May 08 2009

The error is:
"Could not load file or assembly 'acPDFCreatorLib.Net.dll, Version=4.0.0.0, Culture=neutral,PublicKeyToken=8aedc7a81d17941d' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Excption from HRESULT:0x800736B1)

the story:
working on coding a printing handler using the acPDFCreatorLib...
windows XP Pro
visual studio 2008 9.0.30729.1 sp
,NET framework 3.5 SP1
using VB
the project runs without the error on my notebook computer, but the notebook doesn't have enough horsepower.
Moved the project to a desktop with more horsepower, same visual studio / .NET versions, MS win XP Pro on both machines.
Can't seem to get rid of the error.
What am I missing?
-Jim

jreeves2
Posts: 2
Joined: Thu May 07 2009

Re: could not load file or assemble

Post by jreeves2 » Mon May 11 2009

here is the answer:
locate the vcredist_x86.exe that is in the vs_sp1.zip from the download.
extract the vcredist_x86.exe and then run it to install C++ 2005 distributable runtime.
this is documented in a note in the quick start documentation.


(thanks to David Dube)

Post Reply