ScErrReattachFailedBadDbState (SCERR4158) - per-samuelsson/GoodTimes GitHub Wiki
Code: 4158 (0x103E)
Text: "A thread detached during database operation and failed to reattach leaving the server process in an inconsistent state."
There is currently no further description available.
There is currently no code example available on how to reproduce error 4158. 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 4158.
Db.Foo();
}
}There is currently no code example available on how to remedy error 4158. 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 4158.
Db.PreFoo();
Db.Foo();
}
}There is currently no reference documentation available.
There are currently no conceptual documentation available.
Search the Starcounter issue tracker for
-
all issues on
ScErrReattachFailedBadDbState(or only open or closed ones). -
all issues on
SCERR4158(or only open or closed ones).
Search the GitHub site for
-
all issues on
ScErrReattachFailedBadDbState(or only open or closed ones). -
all issues on
SCERR4158(or only open or closed ones).