An error occurs when installing/upgrading KCM using PowerShell ISE
Article # 3035695 - Page views: 42
Issue
You use PowerShell ISE for installing/upgrading Kofax Communications Manager, KCM for short. During the installation/upgrade of KCM you receive the following error from PowerShell ISE:
Execute-Command : Cannot convert 'System.String[]' to the type 'System.String' required by parameter 'Message'. Specified method is not supported. At C:\InstallServer\Scripts\Tools\Functions.ps1:492 char:17 + $ExitCode = Execute-Command $checkdatabase $Parameters -silent + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Execute-Command], ParameterBindingException + FullyQualifiedErrorId : CannotConvertArgument,Execute-Command
Cause
You are using Powershell ISE for executing the install.ps1/upgrade.ps1 script. PowerShell ISE is not supported. PowerShell scripts are executed in PowerShell ISE differently than in PowerShell console.
Solution
Use PowerShell 64bit for running the install.ps1 installation script or upgrade.ps1 upgrade script.
Level of Complexity
Easy
Applies to
Product | Version | Build | Environment | Hardware |
---|---|---|---|---|
Kofax Communications Manager | 5.4 and earlier | n/a | n/a | n/a |
Article # 3035695