dbTalk Databases Forums  

Error during synchronization (-85) on Windows Mobile 2005

sybase.public.sqlanywhere.mobilink sybase.public.sqlanywhere.mobilink


Discuss Error during synchronization (-85) on Windows Mobile 2005 in the sybase.public.sqlanywhere.mobilink forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
badzio
 
Posts: n/a

Default Error during synchronization (-85) on Windows Mobile 2005 - 02-10-2006 , 09:29 AM






Hi
I have application on PC working on Sybase SQLAnywhere 8 and aplication
on PPC working on ultralite. PPC's application connect with PC using
ActiveSync 4.1 and exchange data with Mobilink. If I connect
PocketPC2002 or PocketPC 2003 everything is ok. If I connect Windows
Mobile 5 (Dell Axim X51) then synchronization via mobilink failed. It
means - PPC connects with PC using ActiveSync (I can copy file etc) but
when I try synchronize from my application, I got error -85
(Communication Error).
I have all updates for Sybase/Mobilink (8.0.3.5336).
Error is just after calling ULSynchronize() method.
In my PPC's application I set stream_params = "port=2439;stream=tcpip".
Mobilink server also is started with tcpip param - tcpip{keep_alive=1}.
Log from Mobilink is empty - it means there is no entry for try of
synchronization. Logs of ActiveSync are empty too.
I tried change Sybase from version 8 to version 9 - problem still exists.
So - I don't have no more information, I don't know what can be a
problem. Can anybody help me?
--
Michal "badzio" Kijewski
JID: badzio(at)chrome(dot)pl
GG: 296884, ICQ: 76259763
Skype: badzio

Reply With Quote
  #2  
Old   
badzio
 
Posts: n/a

Default Re: Error during synchronization (-85) on Windows Mobile 2005 - 02-20-2006 , 10:01 AM






Patrze, patrze a tu badzio porozsypywal nastepujace haczki:
Quote:
I have application on PC working on Sybase SQLAnywhere 8 and aplication
on PPC working on ultralite. PPC's application connect with PC using
ActiveSync 4.1 and exchange data with Mobilink. (...) If I connect Windows
Mobile 5 (Dell Axim X51) then synchronization via mobilink failed. It
means - PPC connects with PC using ActiveSync (I can copy file etc) but
when I try synchronize from my application, I got error -85
(Communication Error).
I have try with Sybase ASA 9.0.2.3249, Ultralite 9.0.2.2451, Mobilink
9.0.3.3249. And I have some success but still not enough
When I give a ip of Mobilink Server then everything is ok. But my
application must be able to connect with any/unlimited Mobilink Server.
I have read than patch EBF# 3228 can fixed it... I have this patch but
it still doesn't work.
I tried following codes:

ULInitSynchInfo( &_synchInfo );
_synchInfo.stream = ULSocketStream();
SetSynchUserName( synch_user );
SetSynchVersion( synch_version );
SetSynchStreamParms(_T("host=169.254.2.2"));

where function SetSynchXXX sets adequate property.
When I set parameter "host=169.254.2.2" then everything is ok. If I
doesn't set it - null streamparams - then I get SQLCODE -85
(SQLE_COMMUNICATIONS_ERROR ). If I set f.e. "port=2439;stream=tcpip"
then I have error -1002 (SQLE_UNRECOGNIZED_OPTION). If I set only
"port=2439" then I have again error -85. If I change stream from tcpip
to http then again error -1002. When I set only "stream=tcpip" or
"stream=http" - again error -85.
When I get error SQLCODE = -85 then stream_error_code = 65
(STREAM_ERROR_SOCKET_CONNECT) and system_error_code = 10061
(WSAECONNREFUSED - Connection refused. Typically, this means that the
MobiLink server is not running or is not listening on the specified port)
If I change
_synchInfo.stream = ULSocketStream();
for
_synchInfo.stream = ULActiveSyncStream();
then independent of stream_params the synchronization always failed with
SQLCODE=-85 and and stream_error_code = 75
(STREAM_ERROR_ACTSYNC_NOT_INSTALLED)
So - any idea how can I connect with Mobilink server when I don't know
MobilinkServer's adress? (in PocketPC2002 and Sybase ASA 8.0.2 I could
connect with mobilink server with unknown adress).
--
Michal "badzio" Kijewski
JID: badzio(at)chrome(dot)pl
GG: 296884, ICQ: 76259763
Skype: badzio


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.