Home > Archive > SQL Anywhere ultralite > September 2005 > Sync Problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Sync Problem
Maritza

2005-08-31, 11:23 am

We are developing an application in. NET (c # whit
iAnywhere.Ultralite namepaces) Using a base in the desk
computer. db and a base for pocket pc. udb and one doesn't
eat to synchronize the data of the base from the PC to the
base of the pocket. We are despaired then this it is the
basic part of the application and without her we cannot
advance. Thank you to help us whit question previous
Our iAnywhere version build is 9.0.2.2451.

Here's the code I'm using to synchronize:
string
hostname=3d"localhost"; _conn.SyncParms.UserName=3d"USUARIO_ML";
_conn.SyncParms.Stream =3dStreamType.TCPIP;
_conn.SyncParms. StreamParms=3d=94hos
t=3d=94+_hostname;
_conn.SyncParms.Version=3d"bien_mueble";
_conn.Synchronize();

Tries to synchronize but then gives the following error:
Error
SQLException: Communications Error

And as the alone error says that we don't know as looking
for in the manuals of Mobilink
Philippe Bertrand

2005-09-08, 11:23 am

With pocket pc's if synchronizing to localhost, you should leave the
StreamParms empty (UltraLite figures out you want to connect to the desktop
machine, not the device, localhost implies the device).

p.s. Please group reply to this news post to continue the news thread - this
makes it easier to track the related news posts.
--
- Philippe Bertrand
iAnywhere Solutions, Inc.

Please include in your subject line what UltraLite API are you using
(I.E. UltraLite.NET, Native UltraLite for Java, Embedded SQL, C++,
(pure) Static Java UltraLite, etc.). Please include version and BUILD
numbers in your post.


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com