How to change the maximum size of files that can be attached to Helpdesk 6 incidents

Article:HOWTO3758  |  Created: 2006-06-05  |  Updated: 2011-01-13  |  Article URL http://www.symantec.com/docs/HOWTO3758
Article Type
How To


Helpdesk 6.0 incidents have a default file attachment limit of 4 MB (4096 KB) that is imposed by .NET. This limit is defined in the following file, in the maxRequestLength line:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config

The defaults are:

 

   <httpRuntime
       executinTimeout="90"
       maxRequestLength="4096"
    ...
  
    /> 

Warnings - please read before continuing

1. While it's possible to change the limit by modifying the machine.config file referenced above, Symantec Technical Support strongly recommends against this procedure because this will change the global default for all .NET applications on the server (the Altiris Notification Server and all of its solutions, for example). This can result in unexpected, critical issues.

2. Symantec Technical Support is unable to assist in implementing or troubleshooting these procedures. Use these at your own risk. If issues occur, the only solution would be to change the maxRequestLength back to its default of 4096. 

The recommended procedure is to add an httpRuntime entry to the web.config file used by Helpdesk, which will then only override the value for Helpdesk. As an example, the following instructions will increase the default post back size up to 8 MB (8192 KB):

  1. On the Notification Server that Helpdesk is installed on, navigate to the <Altiris_installation_drive>:\Program Files\Altiris\Helpdesk\AeXHD folder.
  2. Locate and edit the Web.config file using Notepad. 
  3. Find the following line of code:

       <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>

    And then locate the following line of code a few lines down:

       </system.web>
     
  4. The following line of code should be added somewhere between the lines of code found in step 3:

       <httpRuntime maxRequestLength="8192"/>
     
  5. Save and close the file.
  6. From the Windows Start button, click on Run.
  7. Type iisreset in the Open field.
  8. Click on the OK button. The change in attachment size is now in effect. Note: This does not retroactively change file attachments that have previously been already saved in incidents but only new attachments.

Legacy ID



23285


Article URL http://www.symantec.com/docs/HOWTO3758


Terms of use for this information are found in Legal Notices