Overview
When file data is stored in the vault database, any VB Script or vault applications that call the makecopy method to create new document can face this error. It is currently known that the Property Calculator vault application was affected by this error.
The transaction operation cannot be performed because
there are pending requests working on this transaction. (ERROR: 3981,
SQLSTATE: 42000) (0x80040E14)
…
…
Error Message : DlgChangeState.cpp, 726, Script execution failed. ((BeforeCheckInChangesFinalize::PropertyCalculator.MFEventHandlerBeforeCheckInChangesFinalize: 159-9)) (0x800408BB)
VaultDocumentOperations.cpp, 3411, Script execution failed. ((BeforeCheckInChangesFinalize::PropertyCalculator.MFEventHandlerBeforeCheckInChangesFinalize: 159-9)) (0x800408BB)
VaultDocumentOperations.cpp, 3463, Script execution failed. ((BeforeCheckInChangesFinalize::PropertyCalculator.MFEventHandlerBeforeCheckInChangesFinalize: 159-9)) (0x800408BB)
ElectronicSignatureUIHelper.cpp, 239, Script execution failed. ((BeforeCheckInChangesFinalize::PropertyCalculator.MFEventHandlerBeforeCheckInChangesFinalize: 159-9)) (0x800408BB)
VaultSignatureOperations.cpp, 194, Script execution failed. ((BeforeCheckInChangesFinalize::PropertyCalculator.MFEventHandlerBeforeCheckInChangesFinalize: 159-9)) (0x800408BB)…..
…
…
MCommand.h, 843, The transaction operation cannot be performed because
there are pending requests working on this transaction. (ERROR: 3981,
SQLSTATE: 42000) (0x80040E14)
MCommand.h, 801, The transaction operation cannot be performed because
there are pending requests working on this transaction. (ERROR: 3981,
SQLSTATE: 42000) (0x80040E14)
MCommand.h, 583, The transaction operation cannot be performed because
there are pending requests working on this transaction. (ERROR: 3981,
SQLSTATE: 42000) (0x80040E14)
Example configuration of Property calculator that is configured to create object and faces the error.
Note that the error appears only when the FileData is stored in the Vault database itself. The filedata stored in the folder location does not cause this issue.
Solution
This is currently a known issue in Vault application framework and the release availability with the fix can be tracked with ID 172052 through M-Files Release notes.
