Hello! We are having a problem that is only noticed on server (mobilink log). During the synchronize process the server log has the error -10279 (Connection was dropped due to lack of network activity) or -10052 (The authenticate_parameters script return 4000), but the device, that is using Windows Mobile 6.5 Professional CE OS 5.2.23145 Build 2322.214.171.124, does not get any exception from the server, so according with the device the synchronization was ok, but that is not true.
We are using SQL Anywhere 12.0.1 EBF 3605.
My doubt is if that behavior is ok and if it is possible to detect these errors on device, because the device records a synchronization log and we need the real information about the synchronization.
asked 05 Dec '12, 16:40
This error is just saying that the existing remote connection has not been heard from in timeout seconds, so the MobiLink server has dropped that connection (i.e. we assume the connection is gone).
For this situation, the remote will generally not know that the MobiLink server did this action (and it's likely that the remote user has either given up and restarted the synchronization or has already seen an error related to communications).
This error is just saying that the combination of username/password/authentication parameters was not accepted at the server (the output of which is based on your synchronization event scripts).
For UltraLite, these results are typically retrieved through the "ULSyncResult" structure, which varies by API. See: ul_sync_result for C/C++.
answered 07 Dec '12, 14:21
Neat Sync trick:
Be it Mobilink or SQL Anywhere, we've created a simple table with two columns, say create table SYNC_STATUS(localTime timestamp not null, remoteTime timestamp not null);
Every 10 minutes, an event fires to put the current (now()) into the 'localTime' column (CONSOLIDATED DB), with the remote sites doing the same on the 'remoteTime' column.
Then a simple event on each site that checks the time difference between the two columns and sends be an e-mail if that difference exceeds, say 30 minutes.
Not really an answer to your question, but a good monitoring solution :-)
answered 10 Dec '12, 04:31