Increase the Default Attachment Size in Helpdesk
Filed under:
Helpdesk Solution
Customization
Submitted by johnquinn on 23 June, 2008 - 15:53.
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:
- On your Notification Server, open the web.config file with your favorite text editor.
It is located in \Program Files\Altiris\Helpdesk\AeXHD
- Locate the following line in this file:
</system.web>
- 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. - Save the web.config file.
- Restart IIS.
Now you can add file attachments up to the size you specified.
(26 votes)
- Login or register to post comments
- 2479 reads
- Printer-friendly version
















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.
same problem
I ran into this size limitation too and this article nails it. We implemented this and ramped up the size.
Great tip
Thanks, solved a mystery bounce-back email.
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.