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 eUpdateRole]","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:
- K2 Five (5.4) Fix Pack 45.
- K2 Five (5.5) Fix Pack 02.
- Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
- Download the latest Fix Pack using the links in the table above for the version you require.
- Install the Fix Pack to apply the fix.
- It is recommended to clear browser cache and refresh the page.