Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to load DLL ‘ABCpdf9-32.dll’. The specified module could not be found (Exception from HRESULT: 0x8007007E)

Tags:

c#

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)

like image 483
Valentina Solomon Rajan Avatar asked May 16 '13 12:05

Valentina Solomon Rajan


2 Answers

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.

like image 177
ctb Avatar answered Oct 06 '22 01:10

ctb


The problem will be solved only when you install the vendor provided software on all developer and server machines.

like image 30
Shan S Avatar answered Oct 06 '22 01:10

Shan S