ScErrCommitNotPending (SCERR4221) - per-samuelsson/GoodTimes GitHub Wiki

Code: 4221 (0x107D)

Text: "The operation failed because a transaction commit is not pending."

Description

There is currently no further description available.

Example

There is currently no code example available on how to reproduce error 4221. Please modify the code below in a way that can describe how to produce this error.

using Starcounter;
using System;

class Program {
    static void Main(string[] args) {
        // Foo can not be successfully invoked if PreFoo() is not
        // invoked previously. If Foo() is called like this, it will
        // generate an error 4221.
        Db.Foo();
    }
}

Resolution

There is currently no code example available on how to remedy error 4221. Please modify the code below in a way that can describe how to remedy this error.

using Starcounter;
using System;

class Program {
    static void Main(string[] args) {
        // We call PreFoo() prior to calling Foo(). Now, we will
        // no longer experience error 4221.
        Db.PreFoo();
        Db.Foo();
    }
}

See also

References

There is currently no reference documentation available.

Concepts

There are currently no conceptual documentation available.

Additional resources

Search the Starcounter issue tracker for

Search the GitHub site for

⚠️ **GitHub.com Fallback** ⚠️