Closed IanKemp closed 7 years ago
Thanks for your help. I will add some try/catch to avoid this.
I've added some try/catch and exceptions are displayed in tooltip (in screenshot, the message is in french but means: "Access to path xxx is denied", on your computer it will be displayed in your language of course) The node background color is set to red to identify errors.
Tested with latest release (0.99) and a build I made on my local machine using the latest master source, same issue on both. I simply pointed the app to my D:\ drive.
Fix is to not attempt to enumerate directories that have the
System
flag set.Additionally, because the last directory you specified is stored in the application's XML configuration file, every subsequent run of the app will cause it to attempt to read that directory, which causes the aforementioned exception, which means the app can't be launched again until the XML config file is deleted or manually modified to point to a directory that doesn't cause this issue.