Cannot save document because there are open transactions in process on the database
While testing a complex script on Windows 10, I encountered an error:
Cannot save document because there are open transactions in process on the database. Error number — 90940.
It occurred on the line saving a document:
doc.save(docFile);
It turned out that the error happened only when the script was triggered by doScript command: with this option turned off, it ran normally.
See also: Cannot save “Untitled-1” under a new name. The file “Untitled-1” is damaged (Error code: 0) (on Windows only)
Back to the Error messages page