Troubleshooting

Errors:

  • No connection between Dynamicweb and the DynamicwebConnector?
    Check your firewall settings. By default, the Dynamicweb Connector exposes a web service on port 8090. This port can be changed in the Config file for the Dynamicweb Connector. Don't forget that you can use the Test App to test your connection.
  • No connection between connector and NAV?
    Check that the NAV web service is running and activated.
    Check that the Connector user has permission to retrieve data.
    Check that the NAV service is running.
    If the connector is running on a different machine than the NAV web service, check that the firewall allows connections on port 7047 (or whichever port you have configured NAV to use when exposing the web service)
  • I get the error message "Padding is invalid and cannot be removed." when trying to connect to the DynamicwebConnectorService. What's that all about?
    This error is most likely caused by a mismatch between the secret in the config file for the DynamicwebConnector service, and the configuration of your batch/live integration. Make sure that you have exactly the same string in both places.
  • My ERP system cannot generate the XML files needed before the request times out
    In that case, you need to split up your data generation into chunks - this is done by adding an "ExportIsDone" property to the tables node.If this property is set to false, like this: <tables ExportIsDone="False">
    The scheduled task will repeat the request to the remote system immediately, instead of waiting for the next scheduled time. This will repeat until the property is is no longer "False".
    This functionality is currently only implemented in the Dynamicweb ScheduledTaskAddins used by Data Integration Batch - if you wish to take advantage of this functionality, you need to extend the impelementation on the remote side (NAV, AX, etc), to support sending data in smaller batches.

 

Other:

  • Where can I find log info?
    For batch integration, you can see the log files for previous imports and exports  in “scheduled tasks” by right-clicking on a scheduled task and choosing “log”
    For Live Integration, you can go to  “Ecommerce-> Integration->ERP live Integration”  and right-click on the integration you wish to see log information for.
  • Where can I see the xml that is being sent back/forth?
    For Batch integration, you can look at the files that are being saved to disk when importing and exporting data. These files are defined in the source and destination settings of the activities used to import and export data. The files themselves can be seen in the File manager. Note that the XML being sent when exporting data is not just the XML exported by the Data Integration module – is “wrapped” in a root node which may contain additional settings.
    For Live integration, you set your logging level to include the xml being sent back and forth, and you then look in the log for the relevant Live Integration.
  • I've imported products, languages and currencies, but the prices I see in the frontend are different from the prices I see in the backend.
    Make sure that you have set the correct website Ecommerce settings - and that a default currency has been set. If your currency is translated to different languages, make sure that the "isDefault" column is is "true" for EVERY translation of the currency.