When running a Real-Time SmartConnect map from CRM to Great Plains, receiving an error that pops up saying the record could not be saved. When looking in the Windows Event Viewer, and entry is in there that contains the message “Inner Exception: System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file. —> Maximum request length exceeded”
This is caused by CRM attempting to send over all records instead of just the one record that has changed. Open your CRM Real-Time Data Source for the map you are attempting to run. Click on the Define button. When the SmartConnect Query Builder window opens, click on the Builder View Tab. At the bottom of the window, look at the criteria for the key field in the entity. For example, in the Account entity, the key field (GUID) is Account.Account. In the criteria section, there should be a placeholder that says this: =’00000000-0000-0000-0000-000000000000′ If this is not there, then the Plug-In is trying to send all the data, and not just the specific record that has changed. If the criteria is missing, you can add it. The screen should look like the following.