Failed to load DLL 'ABCpdf9-32.dll. The specified module was not found (exception from HRESULT: 0x8007007E)

Development and deployment on a 32-bit system was successful, but a production system with a 64-bit version of Windows Server caused several errors:

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

+7
source share
6 answers

ABCpdf is a third-party library that supports both 32 and 64-bit architecture. The .dll files are intended to be installed using the installer provided by the software vendor. When you download the installer from the provider, you select the 32-bit installer or the 64-bit installer, and then install it and enter the key and exit. From the point of view of your application, you simply refer to abcpdf.dll, regardless of whether you will deploy to 32-bit or 64-bit code, and the dll processes you, pointing to the correct dll.

The answers are still misleading. Do not address the problem by modifying the application, just install the correct version of ABCpdf on the server on which you are deploying.

+3
source

The problem will be solved only by installing the software supplied by the supplier on all the machines of the developer and server.

+1
source

Is ABCpdf a COM library with unmanaged code? In this case, it cannot work on a 64-bit platform. The article below explains this (check the last bit)

http://www.hanselman.com/blog/BackToBasics32bitAnd64bitConfusionAroundX86AndX64AndTheNETFrameworkAndCLR.aspx

In addition, I also need to make sure that the ABCpdf DLL is not dependent on any other 32-bit DLLs. You can use Dependency Walker to verify this ( http://www.dependencywalker.com/ )

You will need to find the 64-bit versions of the corresponding COM libraries.

0
source

If you really do not need your application to be 64-bit (I doubt even the VS team refused), I would suggest that you simply create and deploy as a 32-bit application. There are several good reasons to go 64-bit, and this complicates things like third-party drivers, COM objects, etc. It may even be impossible to combine the 64-bit versions of all of these.

0
source

I decided that I granted full access rights to the System account in the Bin folder.

0
source

I got the error: could not load the DLL 'ABCpdf8-32.dll': the specified module could not be found. (Exception from HRESULT: 0x8007007E) "

When I tried to add the link, an error occurred.

enter image description here

After trying for some time, I directly added the dll to the bin folder, and it worked. Permission is not only issued, since all my folders have the appropriate permissions. So, if someone has a similar problem, try this.

0
source

All Articles