I'm having the same error "Could not find file 'C:\Windows\TEMP\TEMPQXBACCEEVX00000000000000000000000000000000.pdf'."
I'm using the latest version (
My environment is on premise server.
anyone can help?
Can you share a screenshot of your configuration?
Also have you checked the FAQ with the most common questions?
What steps have you taken so far to troubleshoot the issue?
I'm not able to upload the screenshot here. Any other way i can send to you?
I use Bleeding Edge Windows (MinGW-w64) 64bit. This is the admin configuration:
This is the error when I click the convert to pdf button:
"Could not find file 'C:\Windows\TEMP\TEMPNCHLNIOTTO00000000000000000000000000000000.pdf'.SetProcessDpiAwareness failed: "COM error 0xffffffff80070005 (Unknown error 0x0ffffffff80070005)"Error: Failed loading page http://xxx.com/Appraisal/PrintAppraisalForm.aspx?AppraisalId=158&UserType=6 (sometimes it will work just to ignore this error with --load-error-handling ignore)Exit with code 1 due to network error: UnknownNetworkError"
Previously I tried to use the latest stable version and install the visual studio redistributable package, but still doesn't work.
I tried to remove all the dll files from Adminstration page, the error become lesser, left this only:
Could not find file 'C:\Windows\TEMP\TEMPOOMLTSTLBU00000000000000000000000000000000.pdf'.
Guilherme Pereira wrote:
For my problem (Could not find file 'C:\Windows\TEMP\TEMPOOMLTSTLBU00000000000000000000000000000000.pdf'.), we able to solved it by changing the URL to server name instead of domain name. This work perfectly.
I'm not sure is this an issue that can be fixed in the component?
Hi Xiau Hui,
Glad you found a solution.
The problem you're describing seems network related an the fact that your server cannot resolve the domain. If that's the case at the component level there's nothing you can do. It's better to check with your network admin to understand what could be the problem and if it can be solved at the network level.
I'm having the following problem.
When i use the command directly on the server the pdf is being created in "C:\Window\Temp" but when I'm running through the test page (HowToPDF.aspx) the erro "could not find file...." occurs. I'm using the impersonate functionality in the servicecenter and the execution of the command directly on the server was made with the same user.
Any help would be appreciated.
For window platform users
Firstly which version of wkhtmltopdf installable did you choose?
It has to be MinGW and has to be 32 or 64 bit installable depending on your OS.
Make sure you add all the dlls via management portal.
This should fix your issue, if not then it has to be your application issue for which I might need your oml file.
Sree Natarajan wrote:
Thanks for replying. The version is MinGW-w64 and all the dlls are in place. As I've said in my prior post, i tested it directly in the server by using the command line and the file was created sucessfully in the temp windows folder.
The application that i'm using is the one provided here (Forge), i'm using the testing convert to pdf page.
I think the problem must be related with the impersonate functionality since the file is being created when using the command line and not using the test page.
Thanks in advance.
My guess would be for one of two things. Either the impersonate user does not have permissions to run on the windows temp folder or does not have running permissions (the generation of pdf is done through running the wkhtmltopdf tool on a process triggered using c#).
If you're using impersonate to test it properly you have to login into the server with the same credentials you're impersonating. Can you test that?
Forgot to mention, for some reason "htmltopdfconvertor" doesn't work if you try to convert any page which uses silk UI framework.
Also make sure the page that you are trying to convert to pdf should be anonymously accessible.