Use this Knowledge Script to monitor the event log for InfoPath Forms error events generated by SharePoint. This script raises events for the following error codes:
5337: InfoPath Forms Services business logic failed.
5338: InfoPath Forms Services calculations exceeded the maximum limit.
5339: InfoPath Forms Services rules exceeded the maximum limit.
5340: InfoPath Forms Services business logic exceeded the maximum limit of operations.
5341: InfoPath Forms Services was running business logic when ASP.NET request timed out.
5342: A form template’s business logic caused an OutOfMemory exception.
5343: InfoPath Forms Services business logic exception occurred while loading a form template.
5369: InfoPath Forms Services cannot find or load ifsFileNames.xml.
5374: InfoPath Forms Services postback failure.
5733: InfoPath form templates have conflicting business logic assembly identities.
5734: InfoPath Forms Services business logic attempted to store a nonserializable object.
5736: InfoPath Forms Services DoS postbacks per session.
5737: InfoPath Forms Services user has exceeded the maximum number of actions per postback.
5757: InfoPath Forms Services found an unexpected session state version.
5758: InfoPath Forms Services data adapter security error submit.
5759: InfoPath Forms Services solution cache churning.
5760: InfoPath Forms Services event counter mismatch.
6932: InfoPath Forms Services data adapter security error query.
7056: InfoPath Forms Services failed to load a form template.
7083: InfoPath Forms Services user has exceeded the maximum session state size.
7095: The second stage Recycle bin has reached 90% capacity.
7898: InfoPath Forms Services not working due to invalid State Service configuration.
SharePoint Server
The default interval for this script is every 10 minutes.
Set the following parameters as needed:
Description |
How to Set It |
---|---|
General Settings |
|
Job failure event notification |
|
Event severity when job fails |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the job fails to read the InfoPath event log. The default is 5. |
Additional Settings |
|
Event Details |
|
Event detail format |
Specify the format of the event details, either as an HTML table or as plain text. The default is HTML Table. |
Monitor InfoPath Event Log |
|
Event Notification |
|
Raise event if SharePoint generates an InfoPath Forms error event? |
Select Yes to raise an event if SharePoint generates an InfoPath Forms error event in the event log. The default is Yes. |
Event severity when SharePoint generates an InfoPath Forms error event |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which SharePoint generates an InfoPath Forms error event. The default is 20. |
Data Collection |
|
Collect data for InfoPath Forms error events? |
Select Yes to collect data to generate charts and reports for InfoPath Forms error events. The default is unselected. |
Events in past N hours |
Set this parameter to control event checking for the first interval (after which checking is incremental):
The default is 0. |
Maximum number of entries per event report |
Specify the maximum number of entries, from 1 to 100, that you want to be recorded in each event's detail message. If this script finds more entries from the log than it can put into one event message, it will return multiple events to report all the outstanding entries in the log. The default is 30 entries. If this script encounters one or more very large events in the Windows Event log, this script may error out and generate the following event message: Out of string space. If this occurs, specify a smaller value for this parameter. |