|
Home > Archive > SQL Anywhere ultralite > September 2005 > Sync Problem (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]
|
|
| Mabel 2005-08-31, 11:23 am |
| S.O.S......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
| |
| Greg Fenton 2005-08-31, 8:23 pm |
| Mabel wrote:
> S.O.S......We are developing an application in. NET
See my answer to your previous thread.
If you can't see it from your newsreader, try:
http://tinyurl.com/78bbl [shortcut to Google Groups]
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
| |
| Shuchit 2005-09-01, 3:23 am |
| Mabel wrote in news:4315d75b.768b.1681692777@sybase.com:
> Our iAnywhere version build is 9.0.2.2451.
>
> Here's the code I'm using to synchronize:
> string
> hostname="localhost";
> _conn.SyncParms.UserName="USUARIO_ML";
> _conn.SyncParms.Stream =StreamType.TCPIP;
> _conn.SyncParms.StreamParms="host="+_hostname;
> _conn.SyncParms.Version="bien_mueble";
> _conn.Synchronize();
>
> Tries to synchronize but then gives the following error:
> Error
> SQLException: Communications Error
>
Where are you running this application ? On a pocket pc device, a emulator,
or on the desktop ?
Where is the Mobilink Server (dbmlsrv9) running ?
Shuchit
|
|
|
|
|