Tax - Maximum Message Size Quota Has Been Exceeded
You may receive the following message after running the Tax macro on an order with a lot of lines: "'The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.' At Line 0 Position 0"
To fix this, the <bindings> section of the web.config files needs the following bolded modifications, alongside whatever might already be there:
<bindings>
<basicHttpBinding>
<binding name="basicHttp" allowCookies="true"
maxReceivedMessageSize="20000000"
maxBufferSize="20000000"
maxBufferPoolSize="20000000">
<readerQuotas maxDepth="32"
maxArrayLength="200000000"
maxStringContentLength="200000000"/>
</binding>
</basicHttpBinding>
</bindings>
Also verify that the binding name is in the endpoint configuration.
<client>
<endpoint ... bindingConfiguration="basicHttp" />
</client>
Notes:
- "basicHttp" in this example is the name of the already-existing binding in the web.config. There should already be an existing binding in there--use that name.
- 200 million was chosen arbitrarily as a number greater than 65536. The drawbacks of having a larger limit is that there is more vulnerability to a DDOS attack, so that number can be adjusted as needed.
Related Articles
Common Macro Errors
This KB will show the most common Issues and solutions to Errors when running Macros in Visual Red Exclamation Icon and blank box when running a Macro Solution 1 Make Sure the Visual Mfg VSCRIPT.dll is registered Open CMD prompt using Run as ...
Maximum Request Length Exceeded
To correct this error, edit the "Web.config" in the root directory of Launchpad and add / edit the httpRuntime node to allow bigger file sizes to be uploaded: maxRequestLength is in KB executionTimeout is in seconds
Avalara Sales Tax Calculation Returns $0
Avalara Sales Tax Calculation Returns $0 Here is a list of items to verify when trying to figure out why the sales tax calculation returns $0: The Customer does not have “Use Avatax” checked in Customer Maintenance The Customer has ‘Tax Exempt’ ...
Tax Version Number
To get the version number of Tax that the customer is using, go into the Visual directory of the server that tax is running on (e.g. "E:\Visual"). From there, go into \Localapps\Webservices\SynergyTax and run WebAppUpdateUtility.exe. A window will ...
Tax Migration
Install Schema Run the ScriptInstall.exe executable to get the database tables, triggers, and functions put in place. This is found where the Tax Connector is installed.. IE: D:\Visual\localapps\webservices\SynergyTax\SynergyTax\ScriptInstall\ ...