InfoPath Forms Services business logic is out of memory - Event 5342 (SharePoint Server 2010)

 

Applies to: SharePoint Server 2010 Enterprise

Alert Name:   InfoPath Forms Services business logic is out of memory

Event ID:   5342

Summary:   Users who design InfoPath form templates can add managed code to their forms. Errors can occur when this custom code is executed.

Symptoms:   One or more of the following symptoms might appear:

  • An error message appears when opening or filling out the form.

  • This event appears in the event log: Event ID: 5342 Description: A memory allocation made by business logic could not be satisfied. (User: <UserName>, Form Name: <FormName>, Request: <https://servername/_layouts/Postback.Formserver.aspx>, Form ID: <FormID>, Type: <ExceptionType>, Exception Message: <ExceptionMessage>)

Cause:   An out-of-memory exception has been generated by the custom code in an InfoPath form template.