The 'Add Document' component works with small files, but throws an exception when files are greater than 2 MB.
Message :
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(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at LogicBase.Core.Ensemble.DocMan.Docman.AddDocument(String sessionID, DocumentInfo documentInfo, String[] categoryIDs, DocumentPermission[] permissions, Int32 releaseVersion, Int32 majorVersion, Int32 minorVersion, Byte[] versionData, String versionNotes, DocumentKeyValuePair[] pairs)
at LogicBase.Components.Ensemble.AddDocument.Run(IData data) in c:\build\projects\WF75_SDSP1_Apollo\components\LogicBase.Components.Ensemble\AddDocument\AddDocument.cs:line 970
The "Add Document" component's internal function relys on internal code in ProcessManager, thus also using the 'MaxRequestLength' property in Process Managers 'web.config'. The actual project's 'web.config' does not govern attachment size referenced by the 'Add Document' component.
Modify the 'MaxRequestLength' property in the ProcessManager 'web.config'.
This example sets the max file size to 50 MB:
<httpRuntime maxRequestLength="51200" executionTimeout="300"/>
Applies To
Windows 2008 R2
IIS 7.5