Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Increase the Default Attachment Size in Helpdesk

Updated: 23 Jun 2008 | 5 comments
johnquinn's picture
0 0 Votes
Login to vote

I was trying to set up an e-mail template today with an attachment that was nearly 8MB in size. Upon trying to attach the file, I got an error message: "Maximum request length exceeded."

Details: 
Application_OnError - Unhandled Exception: 
System.Web.HttpException: Maximum request length exceeded. 
at System.Web.HttpRequest.GetEntireRawContent() 
at System.Web.HttpRequest.GetMultipartContent() 
at System.Web.HttpRequest.FillInFormCollection() 
at System.Web.HttpRequest.get_Form() 
at System.Web.UI.Page.GetCollectionBasedOnMethod() 
at System.Web.UI.Page.DeterminePostBackMode() 
at System.Web.UI.Page.ProcessRequestMain()

Upon doing some research, I discovered that the default setting for file attachments in the Helpdesk solution is 4MB.

I also found that you can increase this to meet your needs. Here is what you need to do:

  1. On your Notification Server, open the web.config file with your favorite text editor.

    It is located in \Program Files\Altiris\Helpdesk\AeXHD

  2. Locate the following line in this file:
    </system.web>
    
    
  3. Right above this line, add the following line:
    <httpRuntime maxRequestLength="8192"/>
    
    
    NOTE: the example above would set the file size to 8MB, but you can adjust this number to meet your specific needs.
  4. Save the web.config file.
  5. Restart IIS.

Now you can add file attachments up to the size you specified.

Comments

MBHarmon's picture
24
Jun
2008
0 Votes 0
Login to vote

I ran into this issue a

I ran into this issue a week ago and just made the guys change the size of the document. It'll be important to note this is applicable to files uploaded as KB articles as well.

On a side note it took me a second, but I must say grats to Juicemaster on finding the image for this tip. It made me laugh.

- Matt

mboggs's picture
24
Jun
2008
0 Votes 0
Login to vote

same problem

I ran into this size limitation too and this article nails it. We implemented this and ramped up the size.

MajorBrands's picture
24
Jun
2008
0 Votes 0
Login to vote

Great tip

Thanks, solved a mystery bounce-back email.

johnquinn's picture
01
Jul
2008
0 Votes 0
Login to vote

Glad to know this solved other issues

I'm glad to hear this was more of a universal solution than I originally thought. When I first came across it, I was focused on the specific issue within the e-mail templates.

It's good to know that this resolves similar issues in the KB as well since I'm planning on beginning to use this quite a bit more in the very near future.

Appreciate the feedback.

mccarthy.cw's picture
26
Jun
2009
0 Votes 0
Login to vote

 If this option is not set is

 If this option is not set is there no limit?  I cannot find the value in IIS or the web.config.