Defects

Upgrade to 2009 R4 the Configurator fails with error - System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection



ID:    D12084
Published:    14 February 2011
Updated:    30 September 2011
 

Defect Id

DEF198518

Originally Reported Against

SBM 2009 R4

Also Affects

Service Manager 1.0

Resolved In

SBM 2009 R4.01
Service Manager 1.1

Status

Implemented

Description

Upgrade to 2009 R4 fails when the Configurator is run with error message similar to the below.

The problem is due to missing CN attribute on the Issuer Distinguished Name of the SSL certificate. The Configurator expects that to be present.


Error message:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.ArrayList.get_Item(Int32 index)
   at ConfigurationUtility.AdvancedSSOPage.AdvancedSSOConfiguratorUI.SetIISCert(X509Certificate2 cert)
   at ConfigurationUtility.AdvancedSSOPage.AdvancedSSOConfiguratorUI.UpdateIisCertInfo()
   at ConfigurationUtility.AdvancedSSOPage.AdvancedSSOConfiguratorUI.UpdateSSLInfo()
   at ConfigurationUtility.AdvancedSSOPage.AdvancedSSOConfiguratorUI..ctor(AdvancedSSOConfigurator configurator)
   at ConfigurationUtility.AdvancedSSOPage.AdvancedSSOConfigurator.OnGetUI()
   at ConfigurationUtility.ConfiguratorBase.GetUI()
   at ConfigurationUtility.ConfiguratorBase.Initialize(Boolean clearMessages)
   at ConfigurationUtility.FConfigurationUtility.InitializeConfigurators(Boolean clearMessages)
   at ConfigurationUtility.FConfigurationUtility.OnActivated(EventArgs e)
   at System.Windows.Forms.Form.set_Active(Boolean value)
   at System.Windows.Forms.Form.WmActivate(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Resolution

Possible workarounds:

1. Disable SSLby removing the certificate from IIS administrator, run upgrade, use CU, exit CU, restore certificate from IIS admin console. Subsequently, every time CU is ran it is needed to disable the SSL by removing the certificate to avoid crashing
2. Use SSL certificate that does have CN in the issuer's DN.

Find Answers

Type a question or describe what you are looking for below

My Recent Searches

Welcome kb sso

Additional Assistance

  • Submit a Case Online
  • FAQs