Copy link to clipboard
Copied
Hello,
We have a grid that is bound to fields in search criteria form to filter the grid results. The actual screen has 10 search fields, but the basic code looks like this:
<cfgrid name="gridReports" format="html" bindOnLoad="false" selectOnLoad="true"
bind="cfc:getReports({cfgridpage}, {cfgridpagesize}, {cfgridsortcolumn}, {cfgridsortdirection}, {form:field1@none}, {form:field2@none}, {form:field3@none} )">
<cfgridcolumn name="column1" header="Column Name" >
<cfgridcolumn name="column2" header="Column Name" >
<cfgridcolumn name="column3" header="Column Name" >
We have this running in 2 matching environments. In one environment, this runs without any problems. However in the other, when you fill in many serach fields or enter some long text into a few, it will return " Error invoking CFC [cfc filename]: Not Acceptable." If you limit the search values entered, then the search runs just fine. Any ideas on what may be causing the error and/or why it is only happening in one environment?
Thanks for your help.
Copy link to clipboard
Copied
Have you verified that the CF admin settings are the same in both servers? I think particularly of whitespace handling and debugging output. Also, make sure your CF & IIS mappings are identical on both servers.
Copy link to clipboard
Copied
We did check the CF and IIS mappings and they were identical. Ultimately, we reinstalled IIS in the problem environment and it seems to have corrected the problem.
Thanks
Copy link to clipboard
Copied
cfc:getReports(
That doesn't look right to me. I miss the CFC's name. A dotted path to the CFC may also be relevant. Path is certainly one factor that may differ between servers.