PdfInfo.Create method lacks meaningful exception #1606
Unanswered
akshay9070
asked this question in
Help
Replies: 1 comment 2 replies
-
You will only get more information when Ghostscript is providing that information and it looks like that is not happening now. But I think I know what is causing this issue. Looking at the error message I noticed this filename: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using PdfInfo.Create method to get count of pages for given pdf file. The project is deployed on server, which is handling multiple requests at same time.
When same request is processed on local or other server its giving page count without any error.
All requests are throwing exception at PdfInfo.Create as :
FailedToExecuteCommand "C:\Projects\gswin64c.exe" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT --permit-file-read="C:/Users/Tomas/AppData/Local/Temp/temp.pdf" -sPDFPassword="qwert" -c "(C:/Users/Tomas/AppData/Local/Temp/temp.pdf) (r) file runpdfbegin pdfpagecount = quit"' (1) @ error/ghostscript-private.h/ExecuteGhostscriptCommand/74`
Note : Can reason for error be due to heavy cpu/memory usage on server, since its also running multiple services.
So can anyone please help why is error happening.
Beta Was this translation helpful? Give feedback.
All reactions