Home > Archive > SQL Anywhere ultralite > March 2006 > Synch freesing in .Net









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 Synch freesing in .Net
Jonathan Chapman

2006-03-22, 8:26 pm

Hi,
I'm using the 9.0.2 Build 3267 Ultralite .Net component on a Pocket PC
2003 device with a 802.11b wireless card.

If I go out of coverage and then go in and out of coverage along the fringe
my synchronization will eventually hang. My call is
iAnywhere.Data.Ultralite.ULConnection conn;

.....

pub = conn.Schema. GetPublicationSchema
("Security");

oldMask = conn.SyncParms.PublicationMask;

conn.SyncParms.PublicationMask = pub.Mask;

conn.SyncParms.UserName = loginID;

conn.SyncParms.Password = password;

if (newPassword != null && newPassword != "")

{

conn.SyncParms.NewPassword = newPassword;

}

conn.Synchronize();

Sometimes I never return from the conn.Synchronize. The wait cursor I have
just continues to spin.

Any ideas?

Note: When I do the synch with the listener I can also get this to happen.
In addition it will happen in the fields with a WWAN connection.

Thanks,

Jonathan



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