Properties not displaying for VM's under Deployment -> Components 'Error has occurred. For more information, see event logs on the iaas server or contact your system administrator'
search cancel

Properties not displaying for VM's under Deployment -> Components 'Error has occurred. For more information, see event logs on the iaas server or contact your system administrator'

book

Article ID: 427434

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • Properties not displaying for VM's when opening machine objects under Deployment -> Components 

  • The ui shows the error:

    "Error has occurred. For more information, see event logs on the iaas server or contact your system administrator."

  • The website logs on the iaas web servers under C:\Program Files (x86)\VMware\vCAC\Server\Website\Logs show a Maximum request length exceeded error:

    System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Web.HttpException (0x80004005): Maximum request length exceeded.
       at System.Web.HttpRequest.GetEntireRawContent()
       at System.Web.HttpRequest.FillInFormCollection()
       at System.Web.HttpRequest.EnsureForm()
       at System.Web.HttpRequest.get_Form()
       at System.Web.HttpRequest.get_HasForm()
       at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
       at System.Web.UI.Page.DeterminePostBackMode()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    INNER EXCEPTION: System.Web.HttpException (0x80004005): Maximum request length exceeded.
       at System.Web.HttpRequest.GetEntireRawContent()
       at System.Web.HttpRequest.FillInFormCollection()
       at System.Web.HttpRequest.EnsureForm()
       at System.Web.HttpRequest.get_Form()
       at System.Web.HttpRequest.get_HasForm()
       at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
       at System.Web.UI.Page.DeterminePostBackMode()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Environment

vRealize Automation 7.x

Cause

The issue occurrs when the payload exceeds limits set in the IIS stack

Resolution

1) Snapshot each iaas web server

2) Take a manual backup of the web.config file located C:\Program Files (x86)\VMware\vCAC\Server\Website\web.config

2) On each iaas web server add the maxRequestLength property to the website web config file located under C:\Program Files (x86)\VMware\vCAC\Server\Website\web.config

Add the property maxRequestLength="10240" to the httpRuntime line.

The amended line should look like below with added entry highighted in bold:

<httpRuntime targetFramework="4.5" maxRequestLength="10240" maxQueryStringLength="146384" enable="true" executionTimeout="1000"............

3) Perform iis reset for change to take affect. Open command prompt as administrator and run command:

iisreset

4) Validate you can now see the machines properties in the UI