Increase the Maximum Size of Attachment

Increase the Maximum Size of Attachment Uploads for
ProgressBook ParentAccess Microsoft.NET Framework
Article # 1360
This Knowledge Base article relates to Classic ParentAccess and ParentAccess. The maximum
size of a file that can be uploaded in ProgressBook ParentAccess depends on the maximum file
size configured in both ProgressBook ParentAccess as well as Microsoft .NET Framework. By
default, only a file 3MB or less can be uploaded in Microsoft .NET Framework. If you want to
increase the maximum size of a file that can be uploaded in ProgressBook ParentAccess, and
do not want to exceed the default maximum file size set in Microsoft .NET Framework, proceed
with the procedure described in Modify the Maximum Size of Files for Upload to ProgressBook
Modify the Maximum Size of Files for Upload to Microsoft .NET Framework
1. To modify the maximum file size setting for uploading files to .NET Framework, add or
update a tag in the machine.config file for .NET Framework v4.0.30319. For example,
the file may be located in
C:\Windows\Microsoft.NET\Framework\vv4.0.30319\Config\machine.config.
1. Open machine.config and search for maxRequestLength.
2. Change the value to represent the largest file size desired for upload.
3. Search for the <httpRuntime> tag and if does not exist in the file, add it in the
<system.web> tags. In this example where the maxRequestLength value of 10240 is in
KB, <httpRuntime maxRequestLength="10240" />, 10240KB equals 10MB. A file up to
10MB can be uploaded to .NET Framework.
Modify the Maximum Size of Files for Upload to ProgressBook
1. To modify the maximum file size setting for upload files to ProgressBook, open the
appSettings.config, located in the config folder in the root ProgressBook folder.
2. Update the tag with the key of 'max_upload_size'. The value is represented in bytes.
<add key="max_upload_size" value="500000"/>
3. Modify this value to a value that is not larger than the value set in the .NET Framework
machine.config file. If the value set in the appSettings.config file for ProgressBook is
larger than the value set in the machine.config file for .NET Framework, an error will
occur.
4. Restart IIS. If you only recycle the App Pool, the settings will not be changed.
© 2013 Software Answers, Inc. All Rights Reserved. All other company and product names included in this material may be
Trademarks, Registered Trademarks or Service Marks of the companies with which they are associated. Software Answers,
Inc. reserves the right at any time and without notice to change these materials or any of the functions, features or
specifications of any of the software described herein.