Skip to main content
 

Code Fix: When you execute a SmartObject list method, the K2 Host Server stops unexpectedly

KB003371

PRODUCT
K2 Five 5.2 to 5.3
K2 Five (5.2) May 2019 Cumulative Update
K2 Five (5.2) May 2019 Cumulative Update Fix Pack 17 to K2 Five (5.3) Fix Pack 22

 

Issue Description


When you execute a SmartObject list method, the K2 Host Server can stop unexpectedly in rare circumstances when an error occurs just before the SmartObject method is executed.

Error Message


The following error occurs: “Unable to access availability database because the database replica is not in the PRIMARY or SECONDARY role. Connections to an availability database is permitted only when the database replica is in the PRIMARY or SECONDARY role. Try the operation again later”.

Resolution

The fix is available in the following K2 versions:

K2 4.7 March 2018 Cumulative Update K2 Five (5.0) September 2018 Cumulative Update K2 Five (5.1) November 2018 Cumulative Update K2 Five (5.2) May 2019 Cumulative Update K2 Five (5.3)
X X X Fix Pack 17 Fix Pack 22
  1. Ensure you have the correct K2 version and/or Cumulative Update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.

 

Be the first to reply!

Reply