Runing ImageMagic under services with window services .net
Posted: 2009-05-18T07:20:25-07:00
Hi all ,
I have console application (C#) that convert pdf file to tiff
using the -format tiff *.pdf and it's work fine .
I take the same code and create window service running under xp services ,
and i get the error :
from StandardOutput.ReadToEnd() i get :
unable to open image `*.pdf': No such file or directory @ blob.c/OpenBlob/2440.
from StandardError.ReadToEnd(); i get :
unable to open image `*.pdf': Invalid argument @ blob.c/OpenBlob/2440.
what can be the problem ?...
Thanks.
I have console application (C#) that convert pdf file to tiff
using the -format tiff *.pdf and it's work fine .
I take the same code and create window service running under xp services ,
and i get the error :
from StandardOutput.ReadToEnd() i get :
unable to open image `*.pdf': No such file or directory @ blob.c/OpenBlob/2440.
from StandardError.ReadToEnd(); i get :
unable to open image `*.pdf': Invalid argument @ blob.c/OpenBlob/2440.
what can be the problem ?...
Thanks.