Skip to main content


 

Symptoms

 


There is a restriction on the file size that can be uploaded
 

 

Diagnoses

 


The File Attachment control upload size is controlled on two fronts:

 

 

 

a. By K2, the 'Max Size' property of this control when it is blank, it will have an implicit value of '16384 KB'

 

 

 

b. By IIS, the 'maxRequestLength' and 'maxAllowedContentLength' attribute

 

 

 

Please consider that there are two 'Runtime' sites (DesignerRuntime) and (RuntimeRuntime) and as such any 'web.config' changes may need to be applied to both locations if applicable:

 

 

 

:Program Files (x86)K2 blackpearlK2 smartforms DesignerWeb.config

 

:Program Files (x86)K2 blackpearlK2 smartforms RuntimeWeb.config

 

 

 

Max Size Property:

 

http://help.k2.com/onlinehelp/K2smartforms/UserGuide/4.6.11/default.htm#SF-ViewControls-FileAttachmentWithProgress.html?Highlight=Max Size

 

 

 

In the 'web.config' files, these nodes below will need to be updated according to the 'Max Size' property: and http://help.k2.com/onlinehelp/K2smartforms/UserGuide/4.6.11/default.htm#SF-ViewControls-FileAttachmentWithProgress.html?Highlight=maxRequestLength
 

 

Resolution

Changes werealso made to the 'Max Size' property of the control to resolve this limitation.

 

 



 
Be the first to reply!

Reply