cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
jatinchandra
Nintex Newbie

Nintex Form with large Repeating Section failing

Jump to solution

Hello Everyone,

We have a Repeating Section with 14 columns. And the SharePoint list is being updated by an SSIS package in the backend. One of such entries made 61 rows. So, now the Repeating Section has 61 Rows & 14 Columns. 

When edited the Nintex Form & tried to save/cancel, it gave an error with some correlation id. The correlation id said :

System.InvalidOperationException: Operation is not valid due to the current state of the object.  
 at System.Web.HttpValueCollection.ThrowIfMaxHttpCollectionKeysExceeded()   
 at System.Web.HttpValueCollection.FillFromEncodedBytes(Byte[] bytes, Encoding encoding)   
 at System.Web.HttpRequest.FillInFormCollection()

How do we overcome this issue ?

Thanks in advance.

0 Kudos
Reply
6 Replies
rogerb
Nintex Newbie

Re: Nintex Form with large Repeating Section failing

Jump to solution

What authentication protocol are you using for SharePoint?

0 Kudos
Reply
jatinchandra
Nintex Newbie

Re: Nintex Form with large Repeating Section failing

Jump to solution

Hi Roger,

It's Claims Based Authentication with Kerberos enabled.  And we are using SharePoint 2010.

Regards,

Jatin Chandra.

0 Kudos
Reply
jatinchandra
Nintex Newbie

Re: Nintex Form with large Repeating Section failing

Jump to solution

Hi Roger,

Actually the issue is not related to the Repeating Section. It's the no.of input elements in a page. By default, the limit on the number of form input elements that can be submitted to a page is 1000.
For the error item, Repeating Section alone has 61 X 14 = 854 (Text boxes - input html element). These 854 elements + the other input html elements on the page have have crossed the value 1000. I increased the limit to 5000.

In the Web.config I added the below App Setting and it worked !

<appSettings>
<add key="aspnet:MaxHttpCollectionKeys" value="5000" />
</appSettings>

Regards,

Jatin Chandra.

Reply
rogerb
Nintex Newbie

Re: Nintex Form with large Repeating Section failing

Jump to solution

Jatin, glad that you found the solution. You should mark your answer as correct so that this thread will be more helpful to other users in the future.

0 Kudos
Reply
muthusweet
Nintex Newbie

Re: Nintex Form with large Repeating Section failing

Jump to solution

Same limitations applicable for O365 Nintex Forms (Repeating Sections)??

0 Kudos
Reply
citizen_paul
Nintex Newbie

Re: Nintex Form with large Repeating Section failing

Jump to solution

Where do I find this config file?

0 Kudos
Reply