Unable to Instantiate a Process when an InfoPath Form is Uploaded into a Form Library.

Symptoms

Unable to instantiate a process when an InfoPath form is “Uploaded” into a form library.

(log entries below):

12/4/2007 4:25:46 PM>>GetDocumentCreatedBy, 
    Document Created By=DPCORP\sharepoint
12/4/2007 4:25:46 PM>>SampleAPDocLibHandler_BeforeInitiate called
12/4/2007 4:25:51 PM>>System.Web.Services.Protocols.SoapException: 
    There was an exception running the extensions specified in the config file. 
        ---> Maximum request length exceeded.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse

Cause

This is an indication that the size of the file being uploaded has an exception.

Resolution

The resolution here is to change the web.config file for the SharePoint site as well as the web.config for AgilePoint Server to reflect the upload size, in bytes: