Unable to login to UAPM. All users are receiving the error, "An Unexpected error has occurred. Reset entry, collapse and reexpand node, or cancel changes before retrying. If the problem persists, please contact your system administrator." Web Farm.

Document ID : KB000026092
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue:

Unable to login to UAPM. All users are receiving the error, "An Unexpected error has occurred. Reset entry, collapse and reexpand node, or cancel changes before retrying. If the problem persists, please contact your system administrator." We are using a Web Farm/Web Garden configuration (multiple IIS web servers).

Performing an iisreset /noforce from a command prompt on the UAPM server clears up the problem, but only temporarily.

After performing an IISReset, the UAPM transaction log sometimes contains the error:

System.Runtime.InteropServices.COMException (0x80040E31): Timeout expired
System.Runtime.InteropServices.COMException (0x80040E31): Timeout expired

The UAPM Transaction log is located at:

\\inetpub\wwwroot\Unicenter Asset Portfolio Management\APM\uapm<date>.csv

 

Environment:

Unicenter Asset Portfolio Management 11.3.4

 

Cause:

When using a web farm/web garden configuration to balance load amongst two or more web servers, IIS requires that ASP.NET state data be maintained on the State Server and not in process (InProc).

 

Solution

Refer to the Microsoft article on this topic, http://msdn.microsoft.com/en-us/library/ms178586(VS.80).aspx

If you enable Web-garden mode by setting the webGarden attribute to true in the processModel element of the application's Web.config file, do not use InProc session state mode. If you do, data loss can occur if different requests for the same session are served by different worker processes.

This setting can be changed in the UAPM Configurator and must be done on each UAPM Web Server in the web farm/garden:

  • Start, All Programs, CA, Unicenter Asset Portfolio Management, Configurator

  • Select the Asset Portfolio Management tab on the home page of the Configurator

  • Select "Server" in the State Data setting:

    Figure 1

  • Click the Update button in the bottom of the Configurator window, then OK in the confirmation dialog box that will appear, and then Exit to return to the Configurator home page.

  • Repeat this process to change the State Data setting for the Asset Portfolio Management Web Services tab from the Configurator home page.

After making these changes, recycle the UAPMCacheService and perform an IISReset from a DOS command prompt:

IISReset /noforce
net stop ufamstatesrv
net start ufamstatersrv