|
Home > Archive > SQL Anywhere Mobile > March 2005 > Mobilink hotsync conduit resolutely not working
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 |
Mobilink hotsync conduit resolutely not working
|
|
| Philippe Damerval 2005-03-31, 8:04 pm |
| Hi,
I went through all the steps in the mobilink manual on how to
synchronize an ultralite database on a Palm. I installed and configured
the hotsync conduit. I used the UL_DEBUG_CONDUIT environment variable to
ensure that the conduit was properly installed, and it was (I got 2
dialogs).
When I try to synchronize the CustDB sample application on my Palm using
hotsync - it does not work. Nothing happens. The hotsync log appears to
omit the conduit entirely. The settings on it are as follows:
stream=tcpip;host=lo
calhost
The ML server is running on the same desktop which the Palm is
configured with. Here is what I get in the way of log:
otSync operation started 03/31/05 12:50:19
OK Date Book
OK Address Book
OK To Do List
OK Memo Pad
OK Expense
OK Note Pad
OK Photos
VersaMail - Sync configured to Do Nothing
OK Documents To Go
OK Acrobat Reader
OK WorldMate
-- Backing up db MMIDCache0 to file C:\Program
Files\Palm\pdamer\Ba
ckup\MMIDCache0.PDB
-- Backing up db psysLaunchDB to file C:\Program
Files\Palm\pdamer\Ba
ckup\psysLaunchDB.PDB
-- Backing up db Saved Preferences to file C:\Program
Files\Palm\pdamer\Ba
ckup\Saved_Preferenc
es.PRC
OK System
HotSync operation complete 03/31/05 12:50:27
As you can see no trace of the CustDB conduit. I am tearing my hair out
over this one. Please help.
In help, please don't point me to documentation. I have read and re-read
the mobilink documentation and this is why I am going to the newsgroup.
How it SAYS it happens in the doc, is not how it DOES happen.
Thank you
Philippe
--
Philippe Damerval
Alaska Dept. of Fish & Game
Commercial fisheries division
| |
| John Yovas 2005-03-31, 8:04 pm |
| You have the CustDB.prc installed in the palm :-) ?
Just curious
-John
"Philippe Damerval" < philippe_damerval@fi
shgame.state.ak.us> wrote in
message news:424C757B.90301@fishgame.state.ak.us...
> Hi,
>
> I went through all the steps in the mobilink manual on how to synchronize
> an ultralite database on a Palm. I installed and configured the hotsync
> conduit. I used the UL_DEBUG_CONDUIT environment variable to ensure that
> the conduit was properly installed, and it was (I got 2 dialogs).
> When I try to synchronize the CustDB sample application on my Palm using
> hotsync - it does not work. Nothing happens. The hotsync log appears to
> omit the conduit entirely. The settings on it are as follows:
>
> stream=tcpip;host=lo
calhost
>
> The ML server is running on the same desktop which the Palm is configured
> with. Here is what I get in the way of log:
>
> otSync operation started 03/31/05 12:50:19
> OK Date Book
> OK Address Book
> OK To Do List
> OK Memo Pad
> OK Expense
> OK Note Pad
> OK Photos
> VersaMail - Sync configured to Do Nothing
> OK Documents To Go
> OK Acrobat Reader
> OK WorldMate
> -- Backing up db MMIDCache0 to file C:\Program
> Files\Palm\pdamer\Ba
ckup\MMIDCache0.PDB
> -- Backing up db psysLaunchDB to file C:\Program
> Files\Palm\pdamer\Ba
ckup\psysLaunchDB.PDB
> -- Backing up db Saved Preferences to file C:\Program
> Files\Palm\pdamer\Ba
ckup\Saved_Preferenc
es.PRC
> OK System
> HotSync operation complete 03/31/05 12:50:27
>
>
> As you can see no trace of the CustDB conduit. I am tearing my hair out
> over this one. Please help.
> In help, please don't point me to documentation. I have read and re-read
> the mobilink documentation and this is why I am going to the newsgroup.
> How it SAYS it happens in the doc, is not how it DOES happen.
>
> Thank you
>
> Philippe
>
> --
>
> Philippe Damerval
> Alaska Dept. of Fish & Game
> Commercial fisheries division
| |
| Greg Fenton 2005-03-31, 8:04 pm |
| Philippe Damerval wrote:
>
> As you can see no trace of the CustDB conduit. I am tearing my hair out
> over this one. Please help.
Which Palm sample are you looking at? If it is for the
MobileVB/Crossfire interface, then according to the docs only TCP/IP,
HTTP and HTTPS are supported:
UltraLite for MobileVB User's Guide
Understanding UltraLite for MobileVB Development
- Synchronizing data
[though someone may correct me if I have misread this].
I will post a docs enhancement request to highlight these limitations a
bit better, especially in the tutorial where we talk about HotSync to
get the app onto the device.
Sorry for any confusion,
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
| |
| Philippe Damerval 2005-03-31, 8:04 pm |
| All fixed.
Here's how the problem came up and of course how to solve it.
In the docs, path: Mobilink Clients/Ultralite Clients/Synchronizing
ultralite databases on the Palm computing platform/REgistering the
Mobilink Hotsync Conduit to Hotsync Manager, it says the following:
These are the settings for the CustDB sample application:
dbcond9 "Syb2" –n CustDB
In the sample application loaded under Crossfire/VS .Net, here are the
values for the Palm Hi-res application:
Application Name: Crossfire Palmhires CustDB
Creator ID: Syb1
So, naturally, it didn't work. To resolve it I chose to set everything
to creatorID Syb2, which included loading the schema in the ultralite
schema painter and exporting it for Palm with the Syb2 ID. And, of
course, changing the application name in the project properties to
CustDB (I found that spelling is important, too).
I recommend that somebody go through the SAS documentation for Crossfire
and test/verify that everything checks out. I have so far discovered a
great number of discrepancies between what the manual says and what
really happens.
Meanwhile, many thanks to John for having pointed me in the right
direction. Chances are someone looking at a development environment for
devices such as myself is getting started with writing programs for
them, and therefore details such as application names needs to be the
same as conduit names are not known. The docs lead the newbie into
multiple errors and frustration.
Thank you!
Greg Fenton wrote:
> Philippe Damerval wrote:
>
>
>
> Which Palm sample are you looking at? If it is for the
> MobileVB/Crossfire interface, then according to the docs only TCP/IP,
> HTTP and HTTPS are supported:
>
> UltraLite for MobileVB User's Guide
> Understanding UltraLite for MobileVB Development
> - Synchronizing data
>
> [though someone may correct me if I have misread this].
>
> I will post a docs enhancement request to highlight these limitations a
> bit better, especially in the tutorial where we talk about HotSync to
> get the app onto the device.
>
> Sorry for any confusion,
> greg.fenton
--
Philippe Damerval
Alaska Dept. of Fish & Game
Commercial fisheries division
| |
| Greg Fenton 2005-03-31, 8:04 pm |
| Greg Fenton wrote:
>
> I will post a docs enhancement request to highlight these limitations a
> bit better, especially in the tutorial where we talk about HotSync to
> get the app onto the device.
>
One thing to keep in mind while walking through my docs enhancement request:
As you are browsing the UL and ML docs, keep in mind that sometimes
links take you to a UL book for another API from where you started. So
I started off in the MobileVB book and after following three links ended
up at a page that describes adding HotSync synch to an app...but this
was for a completely different API:
UltraLite C/C++ User's Guide
Developing UltraLite Applications for the Palm Computing Platform
- Adding HotSync synchronization to Palm applications
I'm adding this issue to my docs request as well.
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
| |
| Greg Fenton 2005-03-31, 8:04 pm |
| Philippe Damerval wrote:
> All fixed.
>
> Here's how the problem came up and of course how to solve it.
Phillipe,
Thank you for posting about your success! I have forwarded your
comments onto the docs team. It is nice to have a record here in the
newsgroups for others to come across.
In future posts, could you state the version and build number of ASA
that you are using as well as the particular UL API? This way people
will be able to determine if the information is relevant to what they
are looking for (and it helps us report any findings to engineering and
support). You can use the command "dbeng9 -v" to get the version and
build number.
Thanks again!
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
|
|
|
|
|