Hey,
Let me walk through how I have this setup:
- Added GraphicsMill via NuGet (8.1.30) to an existing ASP.net web application.
- Added my license information in the web.config
- I attempted to use the 64bit version, but IIS Express errored:
Could not load file or assembly 'Aurigma.GraphicsMill' or one of its dependencies. An attempt was made to load a program with an incorrect format
- I switch to the 32bit version and everything worked as expected locally.
** I can also run the 64bit version IF I force IISExpress to run in 64bit **
I then tried to publish to a production server (Windows 2012):
- Published and the production server errors with the same error as before:
Could not load file or assembly 'Aurigma.GraphicsMill' or one of its dependencies. An attempt was made to load a program with an incorrect format
- I enabled 32bit applications in IIS on the production server, and I get a new error:
Could not load file or assembly 'Aurigma.GraphicsMill.DLL' or one of its dependencies. The specified module could not be found.
- The Aurigma.GraphicsMill.dll is present in the BIN directory of the production website
If I change back to the x64 version and publish I get the second error again:
Could not load file or assembly 'Aurigma.GraphicsMill.DLL' or one of its dependencies. The specified module could not be found.
What do I do now? I do have the SDK installed on my dev system, but nothing is "installed" on the webserver. Does the webserver need to have the appropriate version of the Microsoft Visual C++ Redistributable Package installed?
Edited by user Wednesday, May 25, 2016 12:09:31 PM(UTC)
| Reason: Not specified