K2 Workspace Management Console not accessible and K2 Server not responding
All of a sudden the K2 Server stops responding, the K2 Workspace Management Console is not accessible, K2 SmartForms are not loading and you might get error messages similar to this one:
Object reference not set to an instance of an object.
at SourceCode.Hosting.Server.Runtime.HostSecurityManager.UpdateSessionIdentity(String sessionCookie, AuthenticatedCredential credential, Boolean isImpersonating)
at SourceCode.Hosting.Server.Runtime.HostSecurityManager.AuthenticateNativeSession(String sessionCookie, Byte[] inBuffer, Byte[]& outBufferPtr, String connectionString, String authReqSource)
Further Analysis
If the resulting number of the following query does not change after some time, I might have the right answer to you issue.
SELECT count(*)
FROM [K2].[Server].[ProcInst]
where status = 1Resolution
If you will ever run into this situation, please drop me a line (email, xing, linkedin, comment) and I am glad to tell you what I did to resolve that issue.
