Scott Fell
asked on
Install imagemagick on windows server 2012
I am having trouble installing imagemagick on windows server 2012.
I used ImageMagick-6.8.8-8-Q16-x8 6-dll.exe Win32 dynamic at 16 bits-per-pixel
http://www.imagemagick.org/script/binary-releases.php#windows
I manually registered the ImageMagickObject in it's default location C:\Program Files (x86)\ImageMagick-6.8.8-Q1 6\
If I use the command line, I can get it to work. But if I try and use vbs or classic asp and use
age.1
Code 800A01AD
I used ImageMagick-6.8.8-8-Q16-x8
http://www.imagemagick.org/script/binary-releases.php#windows
I manually registered the ImageMagickObject in it's default location C:\Program Files (x86)\ImageMagick-6.8.8-Q1
If I use the command line, I can get it to work. But if I try and use vbs or classic asp and use
Set img = CreateObject("ImageMagickObject.MagickImage.1")
The error is ActiveX Component Can't Create Object ImageMagickObject.MagickImCode 800A01AD
ASKER
Thank you, I have already seen that possible solution.
Do you know for sure that that windows server 2012 supports imagemagick?
Do you know for sure that that windows server 2012 supports imagemagick?
Did not try it. I do have a Windows Server 2012 test machine, so I'll get back to you in a few minutes.
Although, if it runs from command line it should run from vbs.
Although, if it runs from command line it should run from vbs.
ASKER
Thanks Dan
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I posted the wrong code at first. I have classic asp scripts using this and it should be server.CreateObject
I uninstalled ImageMagick-6.8.8-8-Q16-x8 6-dll and reinstalled ImageMagick-6.8.8-8-Q16-x6 4-dll.exe
I can get CreateObject to work in vbs but in my classic asp I get "ActiveX component can't create object"
With the x86, I did not get the error, but no image manipulation.
Set img = Server.CreateObject("ImageMagickObject.MagickImage.1")
I uninstalled ImageMagick-6.8.8-8-Q16-x8
I can get CreateObject to work in vbs but in my classic asp I get "ActiveX component can't create object"
With the x86, I did not get the error, but no image manipulation.
ASKER
Sorry, I was out a bit. Cooking pancakes for my daughter.
Yes, we're seeing the same thing. It was OLE Control, not COM.
I only used options 1,2 and 6.
If it works in vbs but not in asp means you have permissions issues. Make sure asp can reach the install folder for imagemagick.
Yes, we're seeing the same thing. It was OLE Control, not COM.
I only used options 1,2 and 6.
If it works in vbs but not in asp means you have permissions issues. Make sure asp can reach the install folder for imagemagick.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It appears at the current time ImageMagick is not 100% compatible with windows server 2012 and I have to use a different solution for classic asp pages that need image manipulation.
1. Missing from the system
2. Not in the system path
3. Not accessible by the system because of security settings
Since you say you run regsvr32, the dll registered correctly and you can use it from cmd.exe, this leaves 2 and 3 for you to check.
HTH,
Dan