The GL Coding control has a predetermined limit to the amount of GL line data that can be coded for a document. If you attempt to code more than the allowed amount of GL line data, you may receive the following error: Operation is not valid due to the current state of the object.
This limit can be reconfigured if you regularly need to code more GL lines than allowed by default. However, increasing this limit also increases your server's denial of service vulnerability.
Do not change the MaxHttpCollectionKeys setting, or any other settings in the Web.config file, without the assistance of your first line of support.
The setting is determined by the following entry in the Web.config file located on your web server under the virtual directory path \\IACostPoint\GLCoding:
<add key="aspnet:MaxHttpCollectionKeys" value="1000" />
The value is the maximum number of form keys allowed per document, which is directly proportional to the number of GL lines allowed per document. Work with your technical support representative to determine the appropriate value for this setting.
Use a plain text editor to edit the Web.config file. This ensures that no extra code is introduced to the file upon saving.