Code Fix: Unable to interact with Role in K2 Management

  • 20 August 2021
  • 0 replies
  • 33 views

Issue Description

When your K2 Database is called a different name than K2 and you attempt to edit/delete/add a role in K2 Management a popup error occurs.

Error Message:

The following error occurs: “‘Invalid object name, 'K2.Authorization.Class'.”

 

The following error occurs in the Hostserver log:

“SourceCode.Security.UserRoleManager.Runtime.UserRoleManagerServer [UpdateRole]","1 Invalid object name 'K2.Authorization.Class'.

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

Resolution

The fix is available in:

 

  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.
  4. It is recommended to clear browser cache and refresh the page.

0 replies

Be the first to reply!

Reply