InfoPath Form Attachments and The selected file is too large #

InfoPath Form Attachments

If you have an InfoPath form in an InfoPath Forms Services library and one of the fields in the form is an attachment field you may get an error when you attempt to attach any files larger than 5MB when viewing the form through the MOSS web interface.  You will get this error even though the Farm is configured to allow much larger file attachments on document libraries and other upload routes? 

The error reads 
"The selected file is too large and is causing the form to exceed the amount of allowable resources.  Select another file."

This error relates to the attachments for the form, not the form itself and it's a forms services configuration problem in Central Admin.

Under SharePoint Central Admin, under Application Management and InfoPath Forms Services Configuration, there is a setting for "Form Session State" and the default size is 4 MB.  Its used to store transient data that exists when a form is being filled in.

That default size impacts the upload capability of any infopath form with attachments - so increase it but don't go silly as on a busy site with lots of attachments, lots of forms and other document libraries being subjected to upload it may impact your SQL and memory resources if you don't have the the session state serfvice or forms viewstate service correctly setup .

If you are going to change this setting - read this Technet article first.
http://technet2.microsoft.com/Office/en-us/library/3c4e8fb1-c3ce-4d27-8c65-6c4ab140f7051033.mspx?mfr=true

It's also a useful pointer for anyone who's forms data is simply not being accepted or dissapearing on submission.

 

1/26/2008 11:33:13 PM (GMT Standard Time, UTC+00:00) #    Comments  |  Trackback

 

Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

All content © 2009, John Timney
On this page
This site
Calendar
<January 2009>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567
Archives
Sitemap
Blogroll OPML
Talk to Me

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail