Apnea Board Forum - CPAP | Sleep Apnea
OSCAR v1.5.2- error code 5, unable to write to data directory - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: OSCAR v1.5.2- error code 5, unable to write to data directory (/Thread-OSCAR-v1-5-2-error-code-5-unable-to-write-to-data-directory)



OSCAR v1.5.2- error code 5, unable to write to data directory - sleepynotion - 03-18-2024

I upgraded from OSCAR v1.5.1 to v1.5.2 (OSCAR-1.5.2-Win64.exe). When I launch the application, it gives the following error:

"Exiting
Unable to write to OSCAR data directory C:/Users/sleepynotion/Documents/OSCAR_Data

Error code: 5 - The system cannot find the file specified.

OSCAR cannot continue and is exiting."

I installed using the default settings. Installation had no error messages. 
The error message happens with both the 32 bit and 64 bit versions of the v1.5.2 Windows installer. I tried installing with admin privileges. 
I've gone back to v1.5.1 and it runs fine. Computer is running Windows 10 pro.

Thanks for all your help and support!


RE: OSCAR v1.5.2- error code 5, unable to write to data directory - Crimson Nape - 03-18-2024

First, what version of Windows are you using? Second, have you validated that C:/Users/sleepynotion/Documents/OSCAR_Data directory exists?
- Red


RE: OSCAR v1.5.2- error code 5, unable to write to data directory - sleepynotion - 03-18-2024

Windows 10 Pro
Version 10.0.19045 Build 19045

Yes, the directory exists. It contains the logs, Profiles, and screenshots folders as well as the backup journal and Preferences.xml file. The folder path was created by the v1.5.1 install. 
The only difference compared to the error message is the use of backslash instead of forward slash.