Skip to content
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

System.IO.FileNotFoundException: Unable to find the specified file. #17485

Closed
1 task done
tibidegamebaas opened this issue Apr 3, 2022 · 5 comments
Closed
1 task done
Labels
Issue-Bug Something isn't working Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-File Explorer Power Toys that touch explorer like Preview Pane

Comments

@tibidegamebaas
Copy link

tibidegamebaas commented Apr 3, 2022

Microsoft PowerToys version

0.57.0

Running as admin

  • Yes

Area(s) with issue?

Developer file preview, MD Preview, PDF Preview, G-code Preview, SVG Preview

Steps to reproduce

(Sorry for bad English)
I recently installed Microsoft Edge Webview2 Runtime. I then went into File Explorer to test file preview on a .txt file.

✔️ Expected Behavior

A preview of a .txt file.

❌ Actual Behavior

A "Microsft .NET" window opened with this error:

See attachment
debug.txt

Other Software

File explorer 10.0

@tibidegamebaas tibidegamebaas added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Apr 3, 2022
@franky920920 franky920920 added the Product-File Explorer Power Toys that touch explorer like Preview Pane label Apr 3, 2022
@franky920920
Copy link
Contributor

franky920920 commented Apr 3, 2022

Hi,

I see that in the report for you local installation you are missing the index.html file inside the PowerToys installation folder.

This might be caused by some older files not being uninstalled correctly.
Would you mind:
1 - Uninstall PowerToys.
2 - See if the PowerToys install directory (default: C:\Program Files\PowerToys) is still there. If it is, delete it manually.
3 - Install PowerToys.

Please let us know if this works for you.
/needinfo

@ghost ghost added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Apr 3, 2022
@CodeLake
Copy link

CodeLake commented Apr 4, 2022

For me the SVG Icon Previews don't work when the files are in OneDrive folder but when locally stored they work.

@franky920920
Copy link
Contributor

ref: #17467

@jaimecbernardo
Copy link
Collaborator

Actually ref #17493

#17467 seems like it's about not finding a dll

@tibidegamebaas
Copy link
Author

Hi,

I see that in the report for you local installation you are missing the index.html file inside the PowerToys installation folder.

This might be caused by some older files not being uninstalled correctly. Would you mind: 1 - Uninstall PowerToys. 2 - See if the PowerToys install directory (default: C:\Program Files\PowerToys) is still there. If it is, delete it manually. 3 - Install PowerToys.

Please let us know if this works for you. /needinfo

That worked, thanks!
#17493 is the same bug, but #17467 contains a different error message.
@CodeLake this might be because files have to be present on the device itself and not only in cloud.
Thanks a lot everyone for helping me!

(Sorry for bad English)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-File Explorer Power Toys that touch explorer like Preview Pane
Projects
None yet
Development

No branches or pull requests

4 participants