Page 1 of 1

Sync error when downloading cases from CS Web using Data Viewer

Posted: May 15th, 2019, 6:49 am
by aem1984
Hello,

We have set up CSWeb, and publishing and deploying android Capi android apps to the server has worked fine, as has connecting the tablets via CS Entry and sending the completed surveys from the tablets to the CSWeb server. However, we are getting an error message with the final stage of downloading the completed tablet cases from the server from within the Data Viewer.

When I select "download" from the file menu within Data Viewer and then select "CSWeb", then enter the address of the web server and click "connect" it finds the survey on the server and lists the number of completed tablet cases. However, when I then select a location and name for the csdsb file in "Save as" and click the "download" button I get the following message "Error connecting to sync server". (See a screenshot attached).

If anyone knows how to resolve this issue, then any advice would be greatly appreciated.

Re: Sync error when downloading cases from CS Web using Data Viewer

Posted: May 15th, 2019, 10:48 am
by aem1984
We have also noticed that the version of PFF file which is downloaded from the CSWeb server appears to be version 7.0 not 7.2. (See attached screenshot).

When we try downloading case data from dropbox, the PFF is version 7.2 and we have no sync error messages.

Re: Sync error when downloading cases from CS Web using Data Viewer

Posted: May 17th, 2019, 7:32 am
by josh
It is hard to tell from that message alone. It could be anything from a bad network connection to an issue with the configuration on your server.

Please look at the sync.log on the machine that you are running DataViewer on. It will be in the folder C:\Users\<your username>\AppData\Roaming\CSPro\ This file should have extended error information.

You should also check the Apache/PHP error logs on your server to see if there is any additional information there.

The pff file version does not matter in this case. CSWeb generates the download pff differently from Dropbox so the version is different.