Getting "Exception of type 'System.OutOfMemoryException' was thrown." when opening InfoPath form RRS feed

  • Question

  • Hello,

    I'm getting the following error when opening up my InfoPath form that is published on SharePoint:

    Exception of type 'System.OutOfMemoryException' was thrown.

    Can anyone help me please?


    Monday, November 7, 2011 7:53 PM


  • Hi,

    It can be a problem of configuration of Forms Services.
    You can get this error when you have big attachment in your form.

    In order to correct this problem, please try to do the following things:
    •Go to SharePoint Central Admin,
    •Go to Application Management,
    •Click on "Configure InfoPath Forms Services" under "InfoPath Forms Services",
    •Check the "Maximum size of the form session state" and set it to 53000 for example (for large file attachment).

    Hope this help.

    Visit my blog : http://rmatayron.blogspot.com/
    • Marked as answer by Greg V Tuesday, November 8, 2011 2:54 PM
    Tuesday, November 8, 2011 10:20 AM