FreeImage.dll is not working under Win 2008 x64 with IIS7 when I use it from
ASP.NET. I get this error:
Unable to load DLL 'FreeImage': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
I downloaded source and recompiled for x64 successfully, and the error
Unable to load DLL 'FreeImage': The application has failed to start because
its side-by-side configuration is incorrect. Please see the application event
log or use the command-line sxstrace.exe tool for more detail. (Exception from
Only from a console application I am able to use Freeimage.dll (32) on x64.
which version of the DLL are you using? Version 3.14.0 has some known similar
problems with OpenMP support. Ensure not to use this version.
Any luck on this issue? We're experiencing the same issue and we've tried
multiple settings within IIS with no success.
I am having the same issue. I did everything that JackN did plus copied the FreeImage.dll and .Net library to c:\Windows, c:\Windows\System32. Gave full permissions to the dll for the Everyone user. Also did a stack trace on the dump file. It reports that the error happens when it tries to invoke any of the extern API calls on the FreeImage.dll file.
I have no issues running the same code on my dev. machine which is Windows XP Pro Sp3 and IIS 5.1. I also created a simple Windows app which works without any issues on the prod. server, so it appears to be something IIS 7 and Windows 2008 R2 x64.
It's solved my problem. I copy FreeImage.dll to C:\Windows and it's worked. You save my days. Thanks so much.
Solved the problem on Win7 x64 by coping the FreeImage.dll to C:\Windows folder and adding a FreeImage environmental variable that points to C:\Windows\FreeImage.dll. Any help on this?
Besides adding the FreeImageNET.dll wrapper to the project folder, I had to add the FreeImage.dll (c++) file to the project BIN directory. That solved it for me.
Log in to post a comment.