Symantec Management Server error when editing input parameters in Assign Organizational Group automation policy
search cancel

Symantec Management Server error when editing input parameters in Assign Organizational Group automation policy

book

Article ID: 367567

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

After upgrading to ITMS 8.7.1, when creating new automation older policies for assigning computers to an organizational group, an error displays when clicking on OK after editing input parameters. This error also occurs if a clone of a pre-upgrade policy.

In the Notification Server logs, we see this error:

Failed to process web request.

Exception of type 'System.Web.HttpUnhandledException' was thrown.
   [HttpUnhandledException @ System.Web.dll]
   at System.Web.UI.Page.HandleError(Exception)
   at System.Web.UI.Page.ProcessRequestMain(bool, bool)
   at System.Web.UI.Page.ProcessRequest(bool, bool)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext)
   at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(HttpContext)
   at Altiris.NS.UI.AltirisPage.ProcessRequest(HttpContext)

Validation of Anti-XSRF token failed. Accessing page: <NS>/Altiris/AltirisNSAutomation/AutomationPolicyUI/dlgEditActionParamsMapping.aspx?name=<NAME OF AUTOMATION POLICY>&<ACTIONGUID>&<SESSIONKEY>
   [InvalidOperationException @ Altiris.NS.UI.dll]
   at Altiris.NS.UI.AltirisPage.DoCheckToken()
   at Altiris.NS.UI.AltirisPage.DoCheckXsrf()
   at Altiris.NS.UI.AltirisPage.OnPreLoad(EventArgs)
   at System.Web.UI.Page.ProcessRequestMain(bool, bool)
Process: w3wp
Priority: 1, Source: Page.HandleError

Cause

IIS settings set too low to allow for token lengths in some situations. 

Resolution

Change the maxRequestLength in these two locations

  1. Open IIS Manager on the NS and highlight the server name.
  2. Go to Configuration Editor under Mangement
  3. Navigate to system.webServer/security/requestFiltering
  4. Expand requestLImits
  5. Set maxAllowedContentLength to 200000000

Next

  1. Go to C:\Program Files\Altiris\Altiris NS Automation\Web, open web.config, find line:
    <!-- Workaround for Etrack incident #2495290 -->
    <httpRuntime executionTimeout="600" maxRequestLength="16200" targetFramework="4.8"/>
    and set maxRequestLength to 200000000.
  2. reset IIS and try again.