K2 Workspace Management Console not accessible and K2 Server not responding

Markus Kolbeck
Feb 23, 2017 · 1 min read

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 = 1

Resolution

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.

Markus' Blog

BLOG COVERING VARIOUS SHAREPOINT AND K2 TOPICS AND DEVELOPMENT

Markus Kolbeck

Written by

IT Consultant Mergers and Acquisitions

Markus' Blog

BLOG COVERING VARIOUS SHAREPOINT AND K2 TOPICS AND DEVELOPMENT

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade