Task Selection box terminates with error: The length of the query string for this request exceeds the configured maxQueryStringLength value

book

Article ID: 171648

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

- A task is created. The type of task is "Assign Owner"

- The assets to be assigned are selected from the "Assets" section with no problem.

- When attempting to select the Owners to assign a box is supposed to pop up with the first set of available users accounts. But instead it fails with a generic box:

The selector failed to load. Please try re-loading the entire page and consult your system administrator if this error continues to appear.

 

Within the SMP logs is a corresponding error similar to the following:

Description: HTTP Request failed:
 /Altiris/TaskManagement/VirtualWindow.axd?ControlClass=71ae0019-6ea2-4659-9bcc-ed4d56d33fcb&FromWrapper=true&WrapperID=m_topSection_m_editControl_m_editControl_Owners_ctl02_csw&ControlInstanceGuid=2e6ad3a5-ab44-447f-9b3d-2cf795af2c94&DataProviderType=null,&UsePicklist=false&OpenSaveUrl=%2Faltiris%2Fns%2Fadmin%2Fdialogs%2FOpenSaveControlStandAlone.aspx&OperatingMode=&AllowMultipleSelect=false&Title=Select%20a%20Resource&PluginType=Altiris.AssetContractCommon.Controls.ComboResourcePickerWrapper%2C%20Altiris.AssetContractCommon%2C%20Version%3D8.1.5818.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dd516cb311cfb6e4f&PluginStateString=AAEAAAD%2F%2F%2F%2F%2FAQAAAAAAAAAQAQAAAAQAAAAJAgAAAAgBAAYDAAAABk93bmVycwkEAAAABwIAAAAAAQAAABoAAAADC1N5c3RlbS5HdWlkBPv%2F%2F%2F8LU3lzdGVtLkd1aWQLAAAAAl9hAl9iAl9jAl9kAl9lAl9mAl9nAl9oAl9pAl9qAl9rAAAAAAAAAAAAAAAIBwcCAgICAgICAs0Ye4UDJsVKuMyxFrrlu74B%2Bv%2F%2F%2F%2Fv%2F%2F%2F8ZT4b9N0RPSocJWOteOuCkAfn%2F%2F%2F%2F7%2F%2F%2F%2FzRh7hQMmxUq4zLEWuuW7vgH4%2F%2F%2F%2F%2B%2F%2F%2F%2FxlPhv03RE9KhwlY61464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%2F80Ye4UDJsVKuMyxFrrlu74B4v%2F%2F%2F%2Fv%2F%2F%2F8ZT4b9N0RPSocJWOteOuCkEQQAAAACAAAABh8AAAANUmVzb3VyY2UgVHlwZQYgAAAAFEJhc2VSZXNvdXJjZVR5cGVHdWlkCw%3D%3D&ClearDataCacheOnLoad=True


The length of the query string for this request exceeds the configured maxQueryStringLength value.
   [System.Web.HttpException @ System.Web]

 

Cause

The error references a legacy IIS setting that is not available to set in IIS Manager at specific pages.  The query string generated is longer than IIS's default setting for maxQueryStringLength allows.

Environment

Management Platform formerly known as Notification Server 8.1 RU5
 

Resolution

In this case the page being hit was "/Altiris/TaskManagement"

Attached to this article is a modified web.config. Download and copy it into ".\Program Files\Altiris\TaskManagement\Web" then reset IIS on the SMP server.

Or, edit the web.config file in the above mentioned folder and search for the following:

<httpRuntime maxRequestLength="256000" executionTimeout="900" />

Change the setting to the following:

<httpRuntime maxUrlLength="10999" maxQueryStringLength="2097151" />

 

Attachments

Web.config get_app