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 ...
Synergy/Avalara Tax - Release Notes
v1100.1003 2025.05.11 Add more diagnostic to validate the shipping address sent mod to SRI Macros SRITAX/SRITAXC to better handle an empty Avalara return data packet Add <line1><line2><line3> to the request packet information for traceability in ...
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’ ...
WM-Synergy Macro Editor
WM-Synergy Macro Editor This is rich client user interface, which allows for the maintenance of Synergy Created Macros that support the Infor Visual ERP Manufacturing, (VE), Visual Basic Scripts (VBScript) typically used in a VE Macro situation. Each ...