Development and deployment on 32-bit system were successful, but a production system running Windows Server 64-bit caused several errors:
Exception System.DllNotFoundException Unable to load DLL ‘ABCpdf9-32.dll’. The specified module could not be found (Exception from HRESULT: 0x8007007E)
ABCpdf is a 3rd party library that supports both 32 and 64 bit architecture. The .dlls are meant to be put in place using an installer provided by the vendor of the software. When you download the installer from the vendor, you select the 32-bit installer or the 64 bit installer, and then you install it, and enter the key and off you go. From your application's perspective, you just reference abcpdf.dll regardless of whether you'll be deploying to 32bit or 64bit, and the dll handles pointing you over to the correct dll.
The answers so far have mislead you. Do not address the problem by altering your application, just install the right version of ABCpdf on the server to which you're deploying.
The problem will be solved only when you install the vendor provided software on all developer and server machines.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With