Classic ASP Installation

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
jsuares
Posts: 1
Joined: 2017-08-14T22:07:24-07:00
Authentication code: 1151

Classic ASP Installation

Post 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:...
Alexvb6
Posts: 49
Joined: 2012-10-12T16:50:15-07:00
Authentication code: 67789

Re: Classic ASP Installation

Post 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 ?
Post Reply