SIM fails to install update. Getting 'Failed to update Symantec web site settings. Exception Details: System.FormatException: Input string was not in a correct format.'
search cancel

SIM fails to install update. Getting 'Failed to update Symantec web site settings. Exception Details: System.FormatException: Input string was not in a correct format.'

book

Article ID: 158451

calendar_today

Updated On:

Products

Symantec Products

Issue/Introduction

You are trying to upgrade your SMP Server to a most recent version. The issue is that SIM (Symantec Installation Manager) fails to start the install. The installation screen just disappears and returns the user back to the principal SIM screen.

Looking at the NS logs, you may see the following:

Severity: 4
Critical: False
Tick Count: 849040386
Host Name: SMPservername
Process: SymantecInstallationManager (5732)
Thread: 1
Module: SymantecInstallationManager.exe
Source: Symantec.Installation.Utils.UpdateSymantecWebSiteSettings
Description: Detected that IIS settings are changed for SMP Site: Updating current SMP site setting

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Severity: 1
Critical: False
Tick Count: 849040386
Host Name: SMPservername
Process: SymantecInstallationManager (5732)
Thread: 1
Module: SymantecInstallationManager.exe
Source:
Symantec.Installation.WizardSteps.Process.PerformInstallAndConfig.ExecuteStep
Description: Failed to update Symantec web site settings.

( Exception Details: System.FormatException: Input string was not in a correct format.
 at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer&number, NumberFormatInfo info, Boolean parseDecimal)
 at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
 at Symantec.Installation.Utils.UpdateSymantecWebSiteSettings(NsConfigureParameters nsParams)
 at Symantec.Installation.WizardSteps.Process.PerformInstallAndConfig.ExecuteStep(WizardStepEventArgs e) )

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Severity: 1
Critical: False
Tick Count: 849040402
Host Name: SMPservername
Process: SymantecInstallationManager (5732)
Thread: 1
Module: SymantecInstallationManager.exe
Source: Symantec.Installation.Context.WizardProcess.WizardManager.Navigate
Description: Exception occurred in WizardManager.Navigate

( Exception Details: System.FormatException: Input string was not in a correct format.
 at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer&
number, NumberFormatInfo info, Boolean parseDecimal)
 at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
 at Symantec.Installation.Utils.UpdateSymantecWebSiteSettings(NsConfigureParameters nsParams)
 at Symantec.Installation.WizardSteps.Process.PerformInstallAndConfig.ExecuteStep(WizardStepEventArgs e)
 at Symantec.Installation.Context.WizardProcess.WizardManager.ExecuteWizardStep(IWizardSteps, WizardStepAction dir)
 at Symantec.Installation.Context.WizardProcess.WizardManager.Navigate(Objectsender, WizardStepEventArgs e) )

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Severity: 4
Critical: False
Tick Count: 849040402
Host Name: SMPservername
Process: SymantecInstallationManager (5732)
Thread: 1
Module: SymantecInstallationManager.exe
Source:
Symantec.Installation.Context.WizardProcess.WizardManager.FireFatalWizardClose
Description: Wizard (in mode 'Update') unexpectedly closed
 

Environment

ITMS 7.x, 8.x

Cause

A missing configuration on IIS. 'Require SSL' option (under IIS>Sites>Default Web Site) for the SSL Settings in IIS needed to be selected. The reason was that in the SIM Regkeys, the "NsWebSiteSSL" was set to True. They should turn on SSL flag in IIS as SIM registry entry is true.

Resolution

On your SMP Server, open regedit:

1. Go to HKLM>Software>Altiris>AIM>Configuration>NsConfiguration and look for the "NsWebSiteSSL" regkey. If it is set to true,
2. Go to IIS Manager and under "IIS>Sites>Default Web Site", make sure the 'Require SSL' option for the SSL Settings is selected.
3. Restart SIM and proceed to upgrade one more time.