K2 Rom Database Error

  • 24 January 2006
  • 3 replies
  • 2 views

Badge +3
I was having a problem calling a K2 process using the K2 Rom. I got "A database error occured". I looked at the configuration and the user permissions etc. for an entire day.

I finally tried using the code to submit to another service and it worked fine. So, I recompiled and redeployed my service without any coding changes and it worked fine. There were no errors in any of the logs regarding issues with the service.

Does anyone have a method for verifying that will log errors during deployment?

3 replies

Badge +6
You could have a look at the K2Error.txt file in the K2.net bin folder of the server to see if there is any further info about your database error.
Badge +3
I checked that file as well as the event logs for the server and I was not receiving any errors.
Badge +11
I have seen a similar error once on a call to K2ROM's StartProcessInstance() call. It was caused by a problem in my process but the K2Server Service user did not have permissions on K2's Bin directory to write to the error log - For some reason this also caused an 'A database error has occurred' error.

Hope this helps,
Ockert

Reply