Page 2 of 2

Re: Syn data Error 100101

Posted: June 12th, 2019, 8:27 am
by mgtoukam
ok I 'll send the all file.

But this logic I usualy used for the sync work well with CsPro 7.1 designer.

string cswebServerUrl = "http://www.myserver.com/api";

// connect to the CSWeb server
if syncconnect(CSWeb,cswebServerUrl) then

// get the latest versions of the application files from the CSWeb server
syncfile(GET,"/DOCTOR/DOCTOR_WAVE1.pff");
syncfile(GET,"/DOCTOR/DOCTOR_WAVE1.pen");

// send the latest cases to the CSWeb server
syncdata(PUT,DOCTOR_WAVE1_DICT);

syncdisconnect();

endif;

it's a problem of version of CsPro designer 7.2

Michel

Re: Syn data Error 100101

Posted: June 12th, 2019, 10:33 am
by josh
Are you using version 7.1 or 7.2 on the server? If you are using 7.2 for you application you should use version 7.2 on the server too.

Re: Syn data Error 100101

Posted: June 12th, 2019, 12:01 pm
by mgtoukam
I didin't have acces to upgrated the csweb interface.

I'm using cspro 7.2 desinger and csweb 7.1.

Regards

Re: Syn data Error 100101

Posted: June 12th, 2019, 5:10 pm
by josh
That could be the problem. Please upgrade CSWeb to version 7.2.