1 Reply Latest reply on May 13, 2013 11:29 AM by Anit_Kumar

    CF9.02 multi-instance 500 Error processing form with over 50 fields included


      It has been said that forms do not have a limitation in the number of fields included in the form. I have run into an annoying problem when the form reaches 50 or more fields as the form is being used to do a Role Call for individuals attending a meeting. The same code works just fine with smaller numbers of fields and it simply has checkboxes for the ones who are attending. It processes this into a 2012 SQL Server database.  I have attempted to use cfform which did not make any difference in the results.  I have code to send to anyone that wants to seriously look into this issue.

        • 1. Re: CF9.02 multi-instance 500 Error processing form with over 50 fields included
          Anit_Kumar Adobe Employee



          The Post Parameter Limits the number of parameters in a post request. The default value is 100. If a post request contains more parameters as specified, the server doesn't process the request and throws an exception. This process protects against DoS attack using Hash Collision. This setting is different from Post Size Limit (ColdFusion Administrator > Settings > Maximum size of post data). This setting isn't exposed in the ColdFusion Administrator console. Customers who want to change postParameterLimit, go to {ColdFusion-Home}/lib for Server Installation or {ColdFusion-Home}/WEB-INF/cfusion/lib for Multiserver or J2EE installation. Please try the following:-


          1. Open file neo-runtime.xml

          2. Locate "<var name='postSizeLimit'><number>100.0</number></var>"

          3. Add "<var name='postParametersLimit'><number>100.0</number></var>" below the above code. You can change 100 with the desired number.




          Anit Kumar