Operation is not valid due to the current state of the object

book

Article ID: 49198

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Description:

When doing various tasks within the UAPM 11.3.4 or 11.3 application such as adding values to drop down lists or editing, running an advanced search, the following error occurs:

Operation is not valid due to the current state of the object

Solution:

IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to create a back up of the registry and ensure that you understand how to restore the registry if a problem may occur.
For more information about how to back up, restore, and edit the registry, please review the relevant Microsoft Knowledge Base articles on support.microsoft.com.

This may be caused by the Microsoft and .NET Framework, SP2 KB updates: KB2656352 and/or KB2656358.

Check the UAPM server(s) for the following Microsoft and .NET Framework, SP2 KB updates: KB2656352 and/or KB2656358.

If these are present on the machine, then the solutions, based on the UAPM version are as follows:

UAPM 11.3.4 (.net version 2.0.xxx)

Add the following entry to the /inetpub/wwwroot/unicenter asset portfolio management/APM/ web.config file:

<add key="aspnet:MaxHttpCollectionKeys" value="2001" />

This key value must reside anywhere inside the <appSettings> section.

Perform an IIS restart and restart the UAPM cache service.

UAPM 11.3.0 (.net version 1.1.xxx)

Add a DWORD value of '2001' (decimal) to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\1.1.4322.0\MaxHttpCollectionKeys

Note**This information is available at http://support.microsoft.com/kb/2661403

Note***To keep this exception from being thrown, you may need to increase the value of aspnet:MaxHttpCollectionKeys to a value higher than "2001".

Environment

Release: UAPMAC990JPP-11.3-Asset Portfolio Management-Asset Configuration
Component: