When trying to create an 'Item Link' such as a link to a resource (filter), it does not work, nothing happens.

book

Article ID: 159076

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

 The customer reported that when they go under "Manage>Jobs and Tasks" then select any of the folders and do a "right-click>New>Item Link" and select "Resources" as Type and then a "Filter", the picker stays there without saving/creating the Item Link that they selected. If they close the picker, the item link is not created.

The following warning is present when the customer clicks 'OK' in the "Edit Item Link" UI:
Module: w3wp.exe 
Source: Altiris.NS.UI.AltirisWebApplication.Application_PreRequestHandlerExecute 
Description: provided fallback culture(en-US) for non supported languages. Maximum request length exceeded. 

Cause

The issue seems to reside in the fact that there is a long reference in the link that is been passed when we are trying to create the "Item Link". 

Looking at the profile trace, the actual link that is called in my test was: 

rawUrl: /Altiris/Console/ShortcutConfig.aspx?mode=newLink&TreeGuid=30412eb5-15ab-49c6-999e-4d0eebef6644&ItemGuid=076775c0-a160-49e3-b148-4518e8f4a0d5 ( (30412eb5-15ab-49c6-999e-4d0eebef6644), TEST (076775c0-a160-49e3-b148-4518e8f4a0d5)) 

which usually indicates that we are trying to use the web.config for CustomConsole (under ...\Program Files\Altiris\CustomConsole\Web). 

Resolution

To fix this issue please try the following:

 1. Add the following line: 
<httpRuntime maxRequestLength="8192"/> 

under the following section in the web.config file under  ...\Program Files\Altiris\CustomConsole\Web: 

<system.web> 
<!-- DYNAMIC DEBUG COMPILATION 
Set compilation debug="true" to enable ASPX debugging. Otherwise, setting this value to 
false will improve runtime performance of this application. 
Set compilation debug="true" to insert debugging symbols (.pdb information) 
into the compiled page. Because this creates a larger file that executes 
more slowly, you should set this value to true only when debugging and to 
false at all other times. For more information, refer to the documentation about 
debugging ASP.NET files. 
--> 

<httpRuntime maxRequestLength="8192"/> 

3. Save the changes.
2. Restart IIS by clicking the Windows 'Start' menu, clicking 'Run', and then typing in "iisreset" and clicking Run. Reload the SMP Console.

 

Note:  I suggested 8192 (in Kb or 8Mb) as a approximate value but since you may have more data trying to be pass on, you may want to try 10240 (or 10Mb), then 15360 (15Mb) and so on until you are able to save the change in the page.

 

Applies To

 

 ITMS 7.1 SP2 MP1 + Rollups