ImageMagicNet on IIS

Jun 10, 2012 at 8:46 PM

Locally, when developing in Cassini, the ImageMagicNet DLL work flawlessly. However if I switch to use the local IIS, I cannot get passed the following error:

Could not load file or assembly 'ImageMagickNET' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Not sure if its a permissions error on the application pool and/or the account listed for the anonymous user or I need to push additional files to another location.

Really stumped on this one. 

Jun 11, 2012 at 8:04 AM

You need to allow 32-bit applications in your application pool settings.

Jun 11, 2012 at 11:58 AM

I think that did the trick. Thanks!