Changing the InfoPath 2007 file attachment control size limit in SharePoint 2007


2008 at 04:49 PM


In my InfoPath page, I have placed a file attachment control on it for users to attach files with the InfoPath page they are filling out.

The file attachment control seemed to have a built-in limit of 4MB as to the maximum file size the users can upload.  I want to increase it to 25 MB.

I found this post (http://www.k2underground.com/blogs/fromthebench/archive/2008/03/10/infopath-file-attachment-size-limit.aspx) which told me that I had to just increase the httpRuntime maxRequestLength to achieve this, but my Web.Config had this already set for 50 MB. That article is probably for an older version of SharePoint.

To achieve it, I performed the following actions:

Go to Start à Admin tools à Central Admin à Application Management à Under Info-path forms services go to configure info-path forms services à Change the Form Session State to have a maximum size of 25000 KB.

 Form Session State

Leave a Comment

(required) 
(required) 
(optional)
(required)