Skip to main content

Hello Everyone,

 

i am upgarding my environment from K2 4.7 to K2 5.2.

While upgarding i got below error.

 

The following errors were logged as part of the install:
Failed: System.ArgumentNullException: Value cannot be null.
Parameter name: name
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objectc] Parameters, Booleana] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectc] parameters)
at SourceCode.Authorization.Client.AuthorizationClient.GetObjects()
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.GrantObjectsRightOnClassTypeWhereInheritanceBroken(Guid classID, String identityName, IdentityType identityType, String rights)
at SourceCode.Install.Package.Actions.Authorization.GrantObjectsRightsOnClassTypeWhereInheritanceBroken.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: GrantEveryoneModifyRightsOnCategoryObjectClassObjectsWithBrokenInheritance

Failed: System.ArgumentNullException: Value cannot be null.
Parameter name: name
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objectc] Parameters, Booleana] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectc] parameters)
at SourceCode.Authorization.Client.AuthorizationClient.GetObjects()
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.GrantObjectsRightOnClassTypeWhereInheritanceBroken(Guid classID, String identityName, IdentityType identityType, String rights)
at SourceCode.Install.Package.Actions.Authorization.GrantObjectsRightsOnClassTypeWhereInheritanceBroken.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

 

 

 

Can someone please help me on this

 

Thanks in Advance

 

Regards,

Hemant

 

 

 

 

 

Hi Hemant,

 

The issue seems to be caused by missing entries in the eCategory].]System] table, can you follow the steps in the below Kb article to try resolve the issue:

https://help.k2.com/kb002384

 

Regards,
Sello


Hi  @Hemant;

 

In addition to what sello said:-

You cannot upgrade directly from K2 4.7 to K2 5.2 if you have 4.7 installed on-premises with the K2 database in Azure SQL. In this case, you must first upgrade your K2 4.7 installation to K2 Five (5.0), then upgrade to K2 Five (5.1) and then to K2 Five (5.2).

It's always advisable to upgrade from 4.7-5.2 in chronological order, issues similar to this one are mostly caused by feature compatibilties and support matrix kindly follow up with the link navigate to "what you need to know before upgrading to k2 five" (https://help.k2.com/kb002606)

 

Kind regards;

Widson.


It would be really good to see installer trace in full or its extract to understand at which stage/step error happened. Frequently GUI surface final error but another one/real root cause occurred a bit earlier and can be found in installer trace.


Another generic tips for upgrade/install are:


 


- Ensure that Configuration Analysis for installed K2 version do not have any warnnigs before you start upgrade


- Be sure that machine has been restarted/has no pending reboot to apply updates or any other pending changes requiring reboot before you start upgrade


- Make sure that account which you use to install/upgrade has all the rights specified in product documentation (ICG)


Thanks for your reply Sello1,

 

After updating the value. i repair the setup and got below error. i have checked all permissions. but still getting same error.

 

K2 Core
-------
The task is not complete as one or more of its dependencies failed.
Duration: 0 seconds

Installation Health
-------------------
Analysis Result: Failed.

The following errors were logged as part of the install:
Target did not complete successfully: Workspace.kspx

Target did not complete successfully: WorkspaceManagement.kspx

Target did not complete successfully: Workspace_update1.kspx

Target did not complete successfully: DocuSign_Feature_Activation.kspx

Target did not complete successfully: K2_APIs_ClonedWorkflowReportsSmartObjects.kspx

Target did not complete successfully: Reports.kspx_4.7

Target did not complete successfully: K2_APIs.kspx

Target did not complete successfully: Management_update1.kspx

Target did not complete successfully: Reports_update1.kspx

Target did not complete successfully: Management_Auth_Update.kspx

Target did not complete successfully: Management_RolesAuth_Update.kspx

Target did not complete successfully: K2 Package and Deployment for SharePoint.kspx

Target did not complete successfully: K2 for SharePoint 2013.kspx

Target did not complete successfully: Mobile Broker.kspx

Target did not complete successfully: K2_APIs_update1.kspx

Target did not complete successfully: Management_update2.kspx

Target did not complete successfully: Management_update3.kspx

Target did not complete successfully: SourceCode.SharePoint.Accelerators.kspx

Target did not complete successfully: SmartForms Tester Collateral.kspx

Target did not complete successfully: K2 Basic Task Form.kspx

Target did not complete successfully: App Framework Core.kspx

Target did not complete successfully: App Installer.kspx

Target did not complete successfully: App Framework Extension Notification.kspx

Target did not complete successfully: App Wizard.kspx

Target did not complete successfully: Salesforce.kspx

Target did not complete successfully: ExchangeFeature.kspx

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '1f0428*personal details removed*abc-4f7f-b5c9-6ae5c33ce75e' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objectc] Parameters, Booleana] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectc] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

 

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationCategoryObjectSmartObject

 

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '1f0428*personal details removed*abc-4f7f-b5c9-6ae5c33ce75e' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objectj] Parameters, Booleanl] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectj] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

 

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationClassSmartObject

 

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '1f0428*personal details removed*abc-4f7f-b5c9-6ae5c33ce75e' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, ObjectO] Parameters, Booleano] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, ObjectO] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

 

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationObjectSmartObject

 

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '1f0428*personal details removed*abc-4f7f-b5c9-6ae5c33ce75e' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Object,] Parameters, Boolean ] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Object,] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

 

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationPermissionSmartObject

 

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '1f0428*personal details removed*abc-4f7f-b5c9-6ae5c33ce75e' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, Objectm] Parameters, Booleans] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objecto] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

 

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationPermissionTraceSmartObject

 

Failed: SourceCode.Authorization.Interfaces.EntityNotFoundException: The with the ID '1f0428*personal details removed*abc-4f7f-b5c9-6ae5c33ce75e' could not be found.
at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.RemoteCall(String TypeName, String MethodName, ObjectN] Parameters, Booleane] NullList, MarshalMessageType CallType)
at SourceCode.Authorization.Client.AuthorizationClient.DoSessionCall(String method, Objectt] parameters)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.BreakObjectInheritance(Guid objectID, InheritanceRightOption option)
at SourceCode.Install.Package.Actions.Authorization.BreakObjectInheritance.ExecuteTarget(Target target)
at SourceCode.Install.Package.Actions.Authorization.AuthorizationBase.Execute(Target target)

Target failed to execute: BreakInheritanceOnCategoriesAuthorizationUserSmartObject

 

Thanks

Hemant


Reply