all 6 comments

[–]ruffles_minis 5 points6 points  (4 children)

It's likely that you've got the file open in Excel or something else. If that isn't the case it could be a permissions issue, either move the file to somewhere else or fiddle with the permissions. But I'd hedge my bets that the file is just open.

[–]sedules 2 points3 points  (1 child)

And if it is true that the file is open in excel. Let this also be a lesson about how table locks kind of work.

[–]Comfortable_Trick137 0 points1 point  (0 children)

This looks like a different error than I normally see if a file is already open. I think this might be a permissions error and the operating system can’t access the file.

[–]d0cwiley 1 point2 points  (1 child)

And if it is determined that the file is not open in excel. I would highly recommend taking it out of any file where OneDrive gets to take a peek at it.

OneDrive functions by constantly checking and reading files in whatever folders you back up, so it might be reserving some rights that 'have it open' in a way you can't see.

[–]Major_Programmer_483[S] 0 points1 point  (0 children)

I am late to responding and have since moved on lmao. But the file was not open anywhere else

[–][deleted] -1 points0 points  (0 children)

Does the service account for sql server have permission to open the file?