Skip to main content
Kofax

Invoice Processing Agility installer fails and the install log contains the message: There was an error deserializing the object of type SetupBackEnd.KtaServerService.ServerSettingsSummary. The value '3' cannot be parsed as the type 'Boolean'.'.

308295

Issue:

The Invoice Processing Agility installer fails and the MSI installer log contains the following:

Action start 9:22:59: KtaSetupPackage.
SFXCA: Extracting custom action to temporary directory: C:\Users\ktaadmin\AppData\Local\Temp\MSIC5ED.tmp-\
SFXCA: Binding to CLR version v4.0.30319
Calling custom action SetupBackEnd!SetupBackEnd.CustomActions.KtaSetupPackage
Start KTA package setup
The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://www.kofax.com/agility/service...sSummaryResult. The InnerException message was 'There was an error deserializing the object of type SetupBackEnd.KtaServerService.ServerSettingsSummary. The value '3' cannot be parsed as the type 'Boolean'.'.  Please see InnerException for more details.

 

Solution: 

An incompatibility can exist between the Invoice Processing Agility installer and the KTA fix pack level whereby a KTA fix pack has changed the definition for PdfaCompliance from "bool" to "short". The IPA installer is expecting a boolean but receives the value "3 instead".

IPA MSI reference:
public partial class PdfGenerationProfile : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=3)]
        public bool PdfaCompliance {
            get {
                return this.PdfaComplianceField;
            }
            set {
                if ((this.PdfaComplianceField.Equals(value) != true)) {
                    this.PdfaComplianceField = value;
                    this.RaisePropertyChanged("PdfaCompliance");
                }
            }
        }
               

KTA service reference (7.5.0.11):

public partial class PdfGenerationProfile : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
{
        [System.Runtime.Serialization.DataMemberAttribute(Order=3)]
        public short PdfaCompliance {
            get {
                return this.PdfaComplianceField;
            }
            set {
                if ((this.PdfaComplianceField.Equals(value) != true)) {
                    this.PdfaComplianceField = value;
                    this.RaisePropertyChanged("PdfaCompliance");
                }
            }
        }

 

Workaround.

Take the following steps to workaround the issue

  1. Navigate to "System Settings" in KTA Designer
  2. Select "PDF Generation Profiles"
  3. Select "InvoiceProcessingAgility" profile
  4. Make a note of the value for the field "PDF/A Compliance", then set the value to "None" and click OK to save
  5. Once the IPA installer has completed successfully, the setting can be reverted.

PDF_None.JPG

 

Applies to:  

Product Version Category
Invoice Processing Agility 1.1 and higher  

 

Author:  Dave Paffett

23-JUL-2019 - Published