Security restriction for converting PDF to JPG in IIS 6.0
Posted: 2009-11-05T16:44:32-07:00
I'm trying to convert a pdf file to a jpg file on windows 2003 server, IIs6.0, and asp.
Other versions
1. ImageMagick version 6.5.7.3-Q16
2. ghostscript version 8.64
The page does not give me any errors but it also does not convert the pdf to jpg.
I can use asp/com to convert a png or gif to a jpg but not a pdf. And it works on command line.
I think the problem is a security restriction in IIS.
It works fine if I change guest user group to power user group of the Internet Guest Account IUSR_TEST .
I have not found anyone to solve this problem for converting PDF file to JPG file in Windows COM+ & Visual Basic and Developers Board.
What that mean is nobody can use the windows ImageMagickObject with any other languages in windows server.
Any help would be greatly appreciated.
Other versions
1. ImageMagick version 6.5.7.3-Q16
2. ghostscript version 8.64
Code: Select all
Command Line
C:>Convert -density 300 test.pdf test.jpg ' OK
Program with ImageMagickObject
<%
Set Img = Server.CreateObject("ImageMagickObject.MagickImage.1")
Img.Convert "test.gif", "test.jpg" ' OK
Img.Convert "-density", "300", "test.pdf", "test2.jpg" ' Nothing happen
%>
I can use asp/com to convert a png or gif to a jpg but not a pdf. And it works on command line.
I think the problem is a security restriction in IIS.
It works fine if I change guest user group to power user group of the Internet Guest Account IUSR_TEST .
I have not found anyone to solve this problem for converting PDF file to JPG file in Windows COM+ & Visual Basic and Developers Board.
What that mean is nobody can use the windows ImageMagickObject with any other languages in windows server.
Any help would be greatly appreciated.