Page 1 of 1

cannot write file error

Posted: Fri Sep 27, 2019 4:10 pm
by Uplift Productions
I'm still getting the cannot write file error, even after deleting the .txt file that should resolve the problem.

Any other possible solutions?

Re: cannot write file error

Posted: Fri Sep 27, 2019 4:26 pm
by PG
What .txt file are you speaking about?

Re: cannot write file error

Posted: Fri Sep 27, 2019 7:20 pm
by Uplift Productions
I found the workaround online and tried it.... I will try and post the link.

Regardless it didn't work and I re-instated the original .txt. file

Re: cannot write file error

Posted: Fri Sep 27, 2019 7:25 pm
by Uplift Productions
here is the link to the workaround.

viewtopic.php?t=125401

Re: cannot write file error

Posted: Sat Sep 28, 2019 8:50 am
by Rat
Unless I am mistaken ... that link does not tell you delete the text file.

Rather, it says to make sure this location or file is not read-only.

Is this your issue?

Re: cannot write file error

Posted: Sat Sep 28, 2019 7:42 pm
by Uplift Productions
pretty much. I actually did both and neither worked.

Re: cannot write file error

Posted: Sun Sep 29, 2019 11:09 am
by Pietzcker
Have you activate the ransomware protection feature on your PC, and if you have, did you add Wavelab to the list of allowed programs?

Re: cannot write file error

Posted: Mon Sep 30, 2019 10:33 pm
by Uplift Productions
No ransomware activated. Still not working.

Re: cannot write file error

Posted: Tue Oct 01, 2019 1:30 am
by Rat
Do you have another app open/running in the background? ProTo*ls for example can 'take control' of disks.

Also, do you get this message on all disks you are writing too?

Re: cannot write file error

Posted: Tue Oct 01, 2019 11:33 pm
by Uplift Productions
its not a disk issue, its writing to a .txt file in the cache that isnt working right.

Re: cannot write file error

Posted: Wed Oct 02, 2019 1:01 am
by Rat
Uplift Productions wrote:
Tue Oct 01, 2019 11:33 pm
its not a disk issue, its writing to a .txt file in the cache that isnt working right.
I was thinking 'disk' in the context of permissions ... because (from your description) WL thinks it is unable to write the .txt file to the cache location C:\Users\[YourName]\AppData\Roaming\Steinberg\WaveLab Pro 9\Cache Which kinda feels like a permissions issue?

Re: cannot write file error

Posted: Wed Oct 02, 2019 3:47 pm
by Uplift Productions
I've set it from so it isnt "read only" and it still wont write. I even made a new .txt file with the same name and it won't work.

Re: cannot write file error

Posted: Thu Oct 03, 2019 2:52 am
by Rat
Puzzling. Are you running your WL session on the same disk as the system drive? If so, try running a session on a second drive. See if the problem persists.

Also,are you able to share a little more on what your computer set up is.

Re: cannot write file error

Posted: Thu Oct 03, 2019 3:38 am
by bob99
Uplift Productions wrote:
Fri Sep 27, 2019 4:10 pm
I'm still getting the cannot write file error, even after deleting the .txt file that should resolve the problem.

Any other possible solutions?
Does it happen when you open and close audio files, or when you open the program? Or when you're doing something else?

This has the same error message:

viewtopic.php?t=97989

Re: cannot write file error

Posted: Fri Oct 04, 2019 1:07 am
by Uplift Productions
Yes, only when opening and closing files.

I did try that setting, in fact it was already set like that.

Re: cannot write file error

Posted: Fri Oct 04, 2019 5:01 am
by bob99
Uplift Productions wrote:
Fri Oct 04, 2019 1:07 am
Yes, only when opening and closing files.

I did try that setting, in fact it was already set like that.
Ok. If it's happening when you open a file, (and the same to the person in the thread you linked), wouldn't it have to be trying to write to some file other than the lru.txt file on file open ? (That file doesn't seem to be affected by file opens, as far as I can tell.)

What files are written to when audio files are opened? Maybe some companion file, or a log file?

Re: cannot write file error

Posted: Fri Oct 04, 2019 5:33 am
by bob99
bob99 wrote:
Fri Oct 04, 2019 5:01 am
(That file doesn't seem to be affected by file opens, as far as I can tell.)
Looks like I'm wrong about that. It does show a different modified time on file open. So maybe the problem still is the lru.txt file.

Re: cannot write file error

Posted: Fri Oct 04, 2019 7:18 am
by bob99
Uplift Productions wrote:
Fri Oct 04, 2019 1:07 am
Yes, only when opening and closing files.
If I delete the tru.txt file, Wavelab recreates it when I open an audio file. If I close Wavelab and set the tru.txt file to Read Only, it stays that way until I open an audio file in Wavelab. When I do that (open an audio file), Wavelab apparently changes the flag so it's not Read Only, and it writes to the file. When I look at the attributes again, it's no longer Read Only.

I've never gotten the error message you're getting, even when I set it Read Only, because Wavelab just changes it back to writable.

Have you considered resetting your preferences?

I usually just rename the settings folder (so I can go back, or move custom presets to the new folder), and Wavelab makes a new settings folder on startup.
https://helpcenter.steinberg.de/hc/en-u ... references
(under INITIALIZING PREFERENCES - for Cubase and Nuendo, but it's the same for Wavelab).

If it doesn't help, or you want to go back, you can delete the new folder and rename the old folder back to what it was. If it does help, you'll need to copy any custom presets from the old folder to the new one.

Re: cannot write file error

Posted: Tue Oct 08, 2019 12:53 am
by Uplift Productions
So I was instructed by support to remove my app data in the hidden folder, then start the program. It rebuilt my database and all is good.

Simple solution.

thanks everyone.