it seems that I have the solution :
this is the topic that led me to the right direction : https://www.imagemagick.org/discourse-s ... =1&t=16169on the TEMP directory
(c:\windows\temp for my server)
You need at least to give "change" rights to IUSR user
(or any authenticated windows user that will use your ASP application)
You need to give "read/write" rights IIS_IUSRS
With those rights, it seems to work well. Just one thing to notice, IM creates files in temp directory (named like magick-n9Y1wqmn for example), and some of them will remain after IM execution through ASP pages. Files that remain are empty, I don't think it's a big matter, but you may have to clean it manually after a while. Even with full controls on both previous user and group, files are not deleted.
So this seems to be enough to make it work with PDF, Ghostscript & ASP
As my server is a win 2k8 R2 64 bits, I installed GS 64 bits version. I had to modify delegates.xml, replace all "@PSDelegate@" values with "gswin64c" value. By default, it looks for the "gswin32c" exe file, and I didn't find a place to change this, other than delegates.xml. But this has nothing to do with ASP problem. If someone knows where to change this "@PSDelegate@" value, please tell me
And what I've done is set a new environment variable on the system "MAGICK_TEMPORARY_PATH" as documented here : http://www.imagemagick.org/script/resources.php
With that I use a dedicated path for IM needs, and I can set rights for ASP accordingly.
I have to validate this in the whole application, but I feel better now that I see working like before.
Thanks to kdc415, nitech,and everybody else for following the problem. Being able to get in touch with a small community when you're stuck is always good.
And many thanks for your wonderful work, Imagemagick team