Index was outside the bounds of the array when deploying App Wizard.kspx

  • 16 February 2021
  • 0 replies
  • 42 views

Userlevel 1
Badge +7

Issue

When trying to apply a Cumulative Update or Fix Pack, the installer encounter errors.

 

27249i35484B88AA4FAF72.png

 

Reviewing the InstallerTrace logs reveal the following error:

 

20:34:30:>> DeployPackage.DataRecieved: Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.20:36:30:>> Component.ExecuteTarget: Logged Error: Target did not complete successfully: App Wizard.kspx

 

When trying to manually deploy the 'App Wizard.kspx' from [Program Files]K2Setup with K2 Package and Deployment tool, the same error is thrown.

 

Following the steps in this article did not resolve the issue and the same error still gets thrown when applying the Cumulative Update or Fixpack, or deploying the 'App Wizard.kspx' package.

 

Resolution

  1. Edit K2HostServer.exe.config from [Program Files]K2Host ServerBin or [Program Files]K2 blackpearlHost ServerBin
  2. Search for "managerConfigFile". You should see this line:
     
    <sourcecode.configuration managerConfigFile="C:Program Files (x86)K2 blackpearlConfigurationConfigurationManager.config" productPath="C:Program Files (x86)K2 blackpearlBin" templateConfigFile="" />
  3. Make sure the "managerConfigFile" is pointing to a path that exist. This should point to ConfigurationManager.config. If the path is wrong, update it.
  4. After updating the path, save the changes
  5. Restart K2 service
  6. Apply the Cumulative Update or Fix Pack again

0 replies

Be the first to reply!

Reply