Home > Archive > SQL Anywhere Mobile > August 2005 > Information for synchronization is incomplete or invalid, check 'user_name'









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 Information for synchronization is incomplete or invalid, check 'user_name'
Mili

2005-08-04, 8:24 pm

Hi,
Using MobileVB 4.0 with Ultralite 9.0.1 (1862) and SQL Server 2000 to sync
data. Application works fine, Sync works fine.

Client finds a bug SQLE_OVERFLOW_ERROR. I fix it by changing Integer to
Long in VB code and works fine. Client reinstalls the revised version onto
the Palm device. Tries to synchronize and gets this error.
This has happened once before too. Client had to remove everything(iAnywhere

installation) from laptop and Palm device and reinstall everything.

FAIL Adaptive Server Anywhere Conduit (SQLCODE = -956) 07/05/05 15:25:58
Information for synchronization is incomplete or invalid, check
'user_name' 07/05/05 15:25:58

Any ideas???? my colleague and I have been trying to figure out what it is
but with no success.

What is the user_name it's looking for? is the the
Connection.syncparms.username? If so there is a user called "afSK" in the
ml_user table

This is what I have in button Synchronize click event. Anything missing or
incorrect? Please let me know.

If AFSysInfo.DeviceType = afDevicePalmOS Then
With Connection.SyncParms
.UserName = "afSK"
.Stream = ulPalmConduit
.Version = "skdb 9.0"
End With
MsgBox "Press the HotSync button to synchronize"
Else
With Connection.SyncParms
.UserName = "afSK"
.Stream = ulTCPIP
.Version = "skdb 9.0"
End With
Connection.Synchronize
End If

What we also found was that it looks for the "ClientParms" in the Registry
U.S Robotics-Pilot Desktop-Application11 and does not find it then attempts
to use port=2439;stream=tcp
ip
and then fails, giving the above invalid user_name error.

Please help, we have been at this for 3 days now without any progress!

Thank you.

Mili Kao


David Fishburn

2005-08-08, 9:24 am

"Mili" <mili@jmo-systems.com> wrote in news:42f2697a@forums
-1-dub of
sybase.public.sqlanywhere.mobilink:

M> Please help, we have been at this for 3 days now without any progress!

I responded to your post on July 29th in the UltraLite
newsgroup. That thread was never responded to.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm

Developer Community / Whitepapers
http://www.ianywhere.com/developer

CaseXpress - to report bugs
http://casexpress.sybase.com

CodeXchange - Free samples
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]

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