Home > Archive > SQL Anywhere ultralite > August 2005 > Sync Problems Ultralite C#









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 Problems Ultralite C#
Mabel

2005-08-29, 8:24 pm

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
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"DBA";
_conn.SyncParms.Password=3d"sql";
_conn.SyncParms.Stream =3dStreamType.TCPIP;
_conn.SyncParms. StreamParms=3d_hostn
ame;
_conn.SyncParms.Version=3d"bien_mueble";
_conn.Synchronize();
But, no synchronize.
Error
SQLException:Informa
tion for synchronization is incomplete
or invalid check =91-n/a=92
Greg Fenton

2005-08-30, 3:24 am

Mabel wrote:
> string
> _hostname="localhost";
> _conn.SyncParms.UserName="DBA";
> _conn.SyncParms.Password="sql";
> _conn.SyncParms.Stream =StreamType.TCPIP;
> _conn.SyncParms. StreamParms=_hostnam
e;
> _conn.SyncParms.Version="bien_mueble";
> _conn.Synchronize();


The _hostname value is not a valid StreamParms value. Try:

_hostname="host=localhost";

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
Eric L. Beser

2005-08-30, 11:25 am

the stream param should be "host=localhost;" Try that.

<Mabel> wrote in message news:43135f73.5cea.1681692777@sybase.com...
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
Our iAnywhere version build is 9.0.2.2451.

Here's the code I'm using to synchronize:
string
_hostname="localhost"; _conn.SyncParms.UserName="DBA";
_conn.SyncParms.Password="sql";
_conn.SyncParms.Stream =StreamType.TCPIP;
_conn.SyncParms. StreamParms=_hostnam
e;
_conn.SyncParms.Version="bien_mueble";
_conn.Synchronize();
But, no synchronize.
Error
SQLException:Informa
tion for synchronization is incomplete
or invalid check '-n/a'


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