K2ROM database error


Badge +1
I'm not sure this is the right forum.

we are getting an error when we call the CreateProcess method in the K2 ROM. I'm convinced this is a configuration issue as this code works on another K2 dev server.

The error is...

K2 Error: A database error occured
Source: K2ROM
at Client.Throw(String s, Exception e) at Client.InternalCall(UInt32 sock, ArchiveX ar, Int32 hdr) at SourceCode.K2ROM.Connection.CreateProcessInstance(String ProcName, Int32 Version) at SourceCode.K2ROM.Connection.CreateProcessInstance(String ProcName)

any ideas?

thanks

2 replies

Badge +8
Is the K2 service running on this server? (Run the server in console mode to check that it starts OK)

When you create the K2ROM connection, are you connecting to the correct server?
Badge +1
Thanks for the info.

The problem was that we were running the service under the wrong account. We switched the K2 service to run as LocalSystem, and it is working fine.

thanks

Reply