JET_errFileAccessDenied [Solved/Closed]

Ask a question NeilCairns 2Posts Sunday June 5, 2016Registration date June 24, 2016 Last seen - Last answered on Jun 24, 2016 at 10:39 AM by NeilCairns
I'm trying to put a restored EDB in to a clean shutdown state (its currently saying its in a dirty shutdown state). However when I run the command I get this back;

Operation terminated with error -1032 (JET_errFileAccessDenied, Cannot access file, the file is locked or in use) after 30.93 seconds.
If I use handle.exe to show the handles for objects in use then that recovered EDB doesn’t appear in the list. The main EDB does but this recovered one (that will be part of a recovery group) doesn't.
There's no AV installed (I removed it to see whether this was causing the issue though it did have an EDB exclusion).
Any ideas what may be the cause?

plus moins
Was this answer helpful?  
plus moins
I think it is the log file that is locked. You might try a few things- cheating by moving the log files to another location and only leaving the essential log files or checking the properties on the log files. Or you can try to restore the file from backup. Always make a copy of your edb files before running any maintenance on them.
NeilCairns 2Posts Sunday June 5, 2016Registration date June 24, 2016 Last seen - Jun 24, 2016 at 10:39 AM
Thank you buddy for your help and time. your recommendations are very useful. the issue is resolved.

Member requests are more likely to be responded to.

Members can monitor the statuses of their requests from their account pages.

A CCM membership gives you access to additional options.

Not a member yet?

Sign up now. It takes less than a minute and is completely free!