Friday, January 05, 2007

The form submission cannot be processed because it exceeded the maximum length...

When uploading to a WSS (Windows Sharepoint) site, you may receive the following error:

Microsoft.SharePoint.SPException: The form submission cannot be processed because it exceeded the maximum length allowed by the Web administrator. Please resubmit the form with less data.

You might also receive a timeout error when uploading from off-site.

The first errors happens because the default upload size in IIS and Sharepoint is 50MB… there’s a KB article that describes how to modify the maximum file upload size in the Web.Config file (increase size of this line: ). You might also want to check out this site for how to enable large file support… it has some good reminders like increasing the IIS connection timeout (so user uploads don't timeout), and where to find the size setting in Sharepoint Central Administration.

No comments: