The cause of the error was that several users were working in the database at the same time, which led to a lock conflict when posting the "Month Closing" document, and the system was unable to wait for the necessary data to be released within the allotted time.
What the problem is about
The "Month Closing" document performs a large volume of operations and accesses a large number of database records. If other users are working in the system at that moment, their actions may lock the same tables or records that the closing procedure needs. As a result, a lock conflict occurs, and 1C displays a message about exceeding the maximum waiting time.
How it was resolved
When checking the situation, the specialist found that the database had not been freed from other users at the moment the month closing was launched. It was explained that for this operation to be performed correctly, it is desirable that only one user work in the database — the initiator of the month closing itself. This is because the system locks the necessary data during the execution of operations, and parallel work by other employees interferes with the process.
The user was advised to:
- ask all other employees to log out of the database;
- then re-run the posting of the "Month Closing" document.
After the users logged out of the database, the posting completed successfully, and the error no longer occurred — the client confirmed the result.
Frequently Asked Questions
Why can't the month be closed while other users are working in the database?
Because the operation affects a large array of data, and parallel actions by other users may lock the same records, which leads to a conflict and a timeout.
What should be done if the error recurs even with a single user?
In that case, it is worth additionally checking for background jobs or scheduled operations that may be running in the database at the same time, and, if possible, seeking consultation for more detailed diagnostics.
Does this procedure need to be performed in single-user mode every time?
Yes, for the "Month Closing" document, it is recommended to perform the posting when there are no other active users in the database — this reduces the risk of such conflicts.
