-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) #15
Comments
ps. program sounds great, but i would like to try it... Many thanks in advance for your time in looking into this situation. |
The unhandled exception is occurring when creating the "PDFKeeper Upload" shortcut in the Downloads and Documents folders in the user profile. The shortcut points to "%AppData%\Robert F. Frasca\PDFKeeper\Upload" that is created automatically. During the creation of the folder is when the shortcut is created. Can you provide a directory listing of "%APPDATA%\Robert F. Frasca\PDFKeeper"? |
Please see attached: |
The "Robert F. Frasca" folder is showing as ROBERT~1.FRA in your directory listings. Is your system set to create folders in 8.3 format? |
Ah ok, it was the /x switch. So, I was doing a little digging on the internet and found someone experiencing the same exact exception but, with a different application that was creating shortcuts during setup. In that case, the issue was with an anti-virus program removing the shortcut. To prove this out, open Explorer and browse to the Downloads or Documents folder, then move the explorer off to the side so you can watch it as you open PDFKeeper. Next, open PDFKeeper and let it sit for up to one minute. Within the first minute you should see the shortcut get created and possibly deleted very quickly. |
I'm glad that solved it! However, I do feel that a change needs to be made to PDFKeeper to not cause Defender to delete the shortcut. I'm thinking that the shortcut in the Downloads folder can remain as the Downloads folder is not protected. The shortcut in the Documents folder can be replaced by a shortcut in the SendTo folder. I will keep this issue open and address this in a future release. |
Turns out, the SendTo folder is not a good location for the PDFKeeper Upload folder shortcut. With the shortcut in the SendTo folder, PDF's can only be added to the Upload folder, not in any of the upload profile sub-folders. In addition, PDF's can only be copied into the Upload folder through SendTo, move is not permitted. After doing some research, I think the best location would be under Quick Access. |
Pinning a folder to Quick Access only pin's the actual folder. So in Quick Access, there will be a folder named Upload not PDFKeeper Upload like the shortcut. With that, I will create the PDFKeeper Upload shortcut on the desktop. |
PDFKeeper 9.1.0 was released today. |
Describe the bug
Fails to work after install. Program starts, but shortly (<10s) after starting throws an unhandled exception, and closes down.
To Reproduce
Installed on windows 10 22H2, with .NET 4.8 (or higher, according to the installer)
First run of program raises the help window, per notes.
.
Desktop (please complete the following information):
Database (please complete the following information):
Additional context
Add any other context about the problem here.
For an unhandled exception (bug), please include:
PDFKeeper.log
The text was updated successfully, but these errors were encountered: