Naughty , naughty us – we want to be able to open Access 2K databases several times during the day. Apparently, this is causing, on occasion, a passive shutdown situation in the connection control. So the next poor user who tries to open the database gets “The database has been placed in a state by user ‘Admin’ on machine (user id) that prevents it from being opened or locked. If the user were consistent, then this would be one thing, but there seems to be such a random chain of events here. Today, we had a worse case scenario – a user who didn’t even have the db open, but had another db open that indirectly linked to the errant db be the passive-shutdown-o-the-hour entity. When I dutifully copied the db over to another directory to look at it, the copy was locked as well. By having the user get out of the db they were in, everything was back to normal.
Does anyone know of some sort of code to either a)prevent the passive shutdown or b)once there has been an incident, to unlock the db without forcing the user out? We certainly can’t follow the wisdom of Microsoft Knowledge Base Article 274211 and (sic) “Open the database once at the beginning of the database at the end of the application.”