ScErrSessionInsideDatabase (SCERR5005) - per-samuelsson/GoodTimes GitHub Wiki
Code: 5005 (0x138D)
Text: "Operations on sessions are only available from clients, not code running inside a database."
There is currently no further description available.
There is currently no code example available on how to reproduce error 5005. 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 5005.
Db.Foo();
}
}There is currently no code example available on how to remedy error 5005. 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 5005.
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
ScErrSessionInsideDatabase(or only open or closed ones). -
all issues on
SCERR5005(or only open or closed ones).
Search the GitHub site for
-
all issues on
ScErrSessionInsideDatabase(or only open or closed ones). -
all issues on
SCERR5005(or only open or closed ones).