Hi,
Just wanted to get some help on the issue we are having on our QA environment.
Some of our users reported error messages when executing smart object in the forms, so I went ahead and recycle the K2 services. After that I couldn’t start the K2 service at all due to the below error:
“Error 2001 Error Starting Host Server: System.NullReferenceException: Object reference not set to an instance of an object.”
Upon reviewing the host server logs, we saw a bunch of error logs related to Database Master Key which was occurring already even before I restarted the K2 service - see below sample:
"Error","General","0","ErrorMessage","SourceCode.Sync.Runtime.SyncProviderLogger"," Error - Please create a master key in the database or open the master key in the session before performing this operation.","anonymous","0.0.0.0","E:\Program Files (x86)\K2 blackpearl\Host Server\Bin"
After further investigation, I was informed that there was a database migration that happened recently and I think that caused this issue based on this article I found in the community site
I found some scripts in the site but not sure which one to execute in this case.
K2 Database Move/Migrate | Community
Database Key error | Community
Can someone help me understand what the next steps should be in order to fix this issue?
Thank you!
Mike