-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 0x80070005 with PDF #123
Comments
Hi, thanks for bringing this to my attention! Just out of curiosity, did you change anything about your setup recently? You should be able to find your PDF file in this folder: |
Yes, I do have the PDF document: Directory: %LOCALAPPDATA%\Packages\9390SimonKnuth.ScannerforWindows10_69n05hp4v3s90\TempState In the following folder, I have the scanned document image: %LOCALAPPDATA%\Packages\9390SimonKnuth.ScannerforWindows10_69n05hp4v3s90\TempState\Conversion I have tried on 3 printers, but I still get the error 0x80070005
|
Makes sure that all objects and streams are properly disposed before ImageToPDF is terminated. This is a potential fix for #123.
Thank you very much for the detailed description. I am not able to reproduce the issue on my end, but based on your info and the analytics I have, I suspect that the PDF file is not always finalized correctly before it is moved to its target location, causing an "Access denied" error. My best guess is that this is related to your PC's system/storage performance and certain timings occurring, which is why this is happening regardless of the used scanner and can start out of the blue. I have made several improvements to the code, which I hope will fix the issue. I don't have a precise projection as to when I'll be able to package and publish this update, but I'll post an update here when I do. |
@simon-knuth : Have the same error round about on every forth scan. The PDF and also the images are processed correctly but not shown in scanned pages in the App. I saw in the code linked that your optimization should included in 3.2.7.0 that I actually using. Attached a log. |
I suspect that this is a timing issue. As a workaround, I've introduced a delayed second attempt in the PDF generation. It's shipping now in v3.2.8. |
Hi Simon, I still get this error after the scan completes. So seems that there is still an issue if a PDF adds new pages. Unbekannter Fehler (Exception from HRESULT: 0x80004005) |
Hello,
I'm encountering error 0x80070005 when scanning a document in PDF format.
If I choose another format like JPG, PNG, TIFF, BMP, everything works fine.
I want to point out that I've never had any issues with the application before.
I uninstalled and reinstalled the application, but the issue persists.
The text was updated successfully, but these errors were encountered: