Page 1 of 1

Classic ASP Installation

Posted: 2017-08-14T22:15:54-07:00
by jsuares
I am trying to install on a Windows server 2003 x64 to use on a classic asp application.

I installed the COM object and the dll is registered.

When I run the simpletest.vbs script from the command line everything works.

However when trying to run from ASP I get an error.

Set img = Server.CreateObject("ImageMagickObject.MagickImage.1")
orig="C:\orig.jpg"
converted="C:\converted.png"
x=img.Convert (orig, converted)

I receive the following error:

convert: 455: unable to load module -C:\Program Files\ImageMagick-7.0.6-Q16\modules\coders\IM_MOD_RL_JPEG_.dll-: The specified module could not be found. @ error/module.c/OpenModule/1266: convert: 420: no decode delegate for this image format `JPEG- @ error/constitute.c/ReadImage/509: convert: 410:...

Re: Classic ASP Installation

Posted: 2018-03-29T19:46:50-07:00
by Alexvb6
Sometimes the error messages thrown by IM are misleading... I'm not an expert, but some things come to my mind :
- Have you checked that the Windows User (Account) under which your Application Pool is running have Read/Write rights on c:\ ?
- Have you checked that the Windows User (Account) under which your Application Pool is running have Execute rights on the folder ImageMagick is installed on ? (C:\Program Files\ImageMagick-7.0.6-Q16)
- Are you using IIS 6 ?