I get this error message when I try to restore from a back up.
How can I fix this?
Can you try logging in to windows with K&L Employee user?
Yes I have tried to restore the back up on that account.
Just to give some background to the problem, I reinstalled Windows Server 2012 R2 on my computer and I was trying to restore the back up when this problem happened.
Place the backup file in a new directory c:\backup or on a USB-drive to restore.
And/or use the name K&L Employee
Press also show backup location, or change this in your settings. to C:\backup and place the file there.
What do you think this message is trying to tell you?
This question comes up nearly every day… User directories are protected with special permissions. Do not set your backup path to a user directory. Move the backup file to another location, and change the settings in SambaPOS to use that path instead …
According to error message SQL Server does not have permission to access folder displayed in the error message. The user account which starts SQL
c:\Users\[user name]\
path used by SQL Server LocalDB edition to store database files. Did you installed SQL Server Express? It should not access to that folder.
Regarding your installation issues, that probably relates with permission issues. Maybe SQL Server can’t start because it can’t access required files. Maybe it makes sense for your case. Please check which user starts SQL Server service. You can try editing SQL Server service properties and changing account to Local Service
.
@QMcKay strange but seems like there is a permission issue with Target
(database file). Not backup file.
OK I will try all of these suggestions.
Okay so before I tried any of the suggestions above, I rebooted the computer and tried restoring one more time and it worked. I didn’t change the directory of the back up file or anything, just a simple reboot seemed to work.
Thank you all for your fast and quick responses.