10-15-2019 05:39 AM
Hi everyone!
I'm reopening an old question that was resolved here.
The problem is slightly different now. I still have my two DLL files that I have to copy/paste in the "bin" directory of the AppServer, but this time this didn't resolve the problem. I get the error "Unable to load DLL 'PdfSecureAPI.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)".
And when I try to register the DLLs with "regsvr32 'C:\<path.dll>'", I get the error: "The module '<path>.dll' was loaded but the call to DIIRegisterServer failed with error code 0x80070005.".
Another difference with the last time I configured the Unity script and its libraries is that I am installing everything for a demo, it's not a test/production environment like the last project.
Do you think there is a solution for this? We would really like to demonstrate our module in presentations.
Thank you very much in advance and have a nice week!
Denise
10-15-2019 06:30 AM
For the error Unable to load DLL 'PdfSecureAPI.dll'... , presumably PdfSecureAPI.dll is a dependent file that your dll requires. I think the search order for dlls is:
So if the file is elsewhere, it won't be picked up. Or maybe it's part of the installation of a 3rd party component or library that is not installed ?
For the error when running regsvr32.exe, confirm that the Windows Account you are using has sufficient permissions to update the registry (the error code is Access Denied). If you're not already, try running it as Administrator
10-15-2019 06:30 AM
For the error Unable to load DLL 'PdfSecureAPI.dll'... , presumably PdfSecureAPI.dll is a dependent file that your dll requires. I think the search order for dlls is:
So if the file is elsewhere, it won't be picked up. Or maybe it's part of the installation of a 3rd party component or library that is not installed ?
For the error when running regsvr32.exe, confirm that the Windows Account you are using has sufficient permissions to update the registry (the error code is Access Denied). If you're not already, try running it as Administrator
10-15-2019 06:57 AM
Perfect, thank you very much!
It's actually only the AppServer\bin path that wasn't taken into account.
I added the DLLs to Windows\system32 and it worked. I've told the resolution to a colleague and he told me that if the folder AppServer\bin is not part of the Environment Variables, then the DLLs won't in fact be taken into account.
Anyway, thank you for your answer! 🙂
Have a nice day!
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.