|
Home > Archive > SQL Anywhere ultralite > February 2006 > https synchronization still does not work with win32 and pocket pc client
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 |
https synchronization still does not work with win32 and pocket pc client
|
|
|
| Hello everyone:
I am trying to work on https sercurity synchronization with
ultralite Palm, win32, and pocket pc.
Luckly, Palm device is working with https synchronization now. However,
win32, and pocket pc are still not working. Do you think I need extra .dlls
to put into pocket pc and win 32 client?
So:
Palm - HTTP - Working
Palm - HTTPS - Working
win32, pocket pc - HTTP - Working
win32, pocket pc - HTTPS - Not Working
we are using : Mbusiness 5.7 , ianywhere 9.0.2 2451 with encryption
package. And the certificate has been put into C:\WINNT\System32 folder
..
The following are my settings in client side.
-------begin of Palm-----(HTTPS Working)----------------------
5.7 Build 32
UltraLite Pod 9.0.2.2451
JavaScript Pod v4.0
Symbol Scanner Pod v4.0
ml_sync_stream = "https";
ml_server_host = "mysyncServer1" ;
ml_server_port = "443";
var trusted_certificates
="mobilink.crt";
var streamParms_palm = "stream=" + ml_sync_stream + ";" + "host=" +
ml_server_host + ";" + "port=" + ml_server_port + ";" + "url_suffix=" +
url_suffix + ";" + " trusted_certificates
=" + trusted_certificates
;
syncconn.syncParms.setStream( syncconn.syncParms.STREAM_TYPE_HOTSYNC );
syncconn.syncParms.setStreamParms( streamParms_palm);
syncconn.saveSyncParms();
-------end of Palm---------------------
--------begin of pocket pc and win 32 client--- (HTTPS Not
Working)----------
5.7 Build 32
UltraLite Pod 9.0.2.2451
JavaScript Pod v4.05.7 Build 32
ml_server_host = "mysyncServer1" ;
ml_server_port = "443";
var trusted_certificates
="mobilink.crt";
var streamParms_win32 = "host=" + ml_server_host + ";" + "port=" +
ml_server_port + ";" + "url_suffix=" + url_suffix + ";" +
" trusted_certificates
=" + trusted_certificates
;
syncconn.syncParms.setStream(syncconn.syncParms.STREAM_TYPE_HTTPS);
syncconn.syncParms. setStreamParms(strea
mParms_win32);
syncconn.skipMBASync = false;
syncconn.saveSyncParms();
--------end of pocket pc and win 32 client---------------
--------begin of pocket pc and win 32 client--- (HTTP Working)----------
5.7 Build 32
UltraLite Pod 9.0.2.2451
JavaScript Pod v4.05.7 Build 32
ml_server_host = "mysyncServer1" ;
ml_server_port = "80";
var streamParms_win32 = "host=" + ml_server_host + ";" + "port=" +
ml_server_port + ";" + "url_suffix=" + url_suffix ;
syncconn.syncParms.setStream(syncconn.syncParms.STREAM_TYPE_HTTP);
syncconn.syncParms. setStreamParms(strea
mParms_win32);
syncconn.skipMBASync = false;
syncconn.saveSyncParms();
--------end of pocket pc and win 32 client---------------
Any ideas? Thanks.
| |
|
| I tried to use var trusted_certificates
=" c:\winnt\system32\mo
bilink.crt";
It is still not working.
I also monitored the gateway log between my client and server redirector,
Seems it did not send any data to the redirector.
Do you think I am missing .dll files under POD folder? Or something wrong
with my string parameters. Thank you .
"Greg Fenton" <greg. fenton_NOSPAM_@ianyw
here.com> wrote in message
news:43cff7bc$1@foru
ms-1-dub...
> Q Jin wrote:
>
> Try putting in the full path to the certificate file for both the win32
> and PocketPC code.
>
> greg.fenton
> --
> Greg Fenton
> Consultant, Solution Services, iAnywhere Solutions
> --------
> Visit the iAnywhere Solutions Developer Community
> Whitepapers, TechDocs, Downloads
> http://www.ianywhere.com/developer/
| |
| Mike Vander Ploeg 2006-01-24, 11:23 am |
| What error code does Connection.syncResult. getStreamErrorCode()
return?
Mike Vander Ploeg
iAnywhere Solutions
"Q Jin" <qjin@trialstat.com> wrote in message
news:43d00692$1@foru
ms-1-dub...
>I tried to use var trusted_certificates
=" c:\winnt\system32\mo
bilink.crt";
> It is still not working.
> I also monitored the gateway log between my client and server
> redirector,
> Seems it did not send any data to the redirector.
> Do you think I am missing .dll files under POD folder? Or something wrong
> with my string parameters. Thank you .
>
>
>
> "Greg Fenton" <greg. fenton_NOSPAM_@ianyw
here.com> wrote in message
> news:43cff7bc$1@foru
ms-1-dub...
>
>
| |
|
| Hi Mike :
Connection.syncResult. getStreamErrorCode()
returns 0 which
probably is the number from old successful synchronization.
"Mike Vander Ploeg" < mvanderp_asdf@sybase
.com> wrote in message
news:43d64e31$1@foru
ms-2-dub...
> What error code does Connection.syncResult. getStreamErrorCode()
return?
>
> Mike Vander Ploeg
> iAnywhere Solutions
>
> "Q Jin" <qjin@trialstat.com> wrote in message
> news:43d00692$1@foru
ms-1-dub...
trusted_certificates
=" c:\winnt\system32\mo
bilink.crt";[color=darkred]
wrong[color=darkred]
>
>
| |
| Mike Vander Ploeg 2006-01-26, 4:56 pm |
| Is the sqlcode you're getting back -85, SQLE_COMMUNICATIONS_
ERROR?
On the Pocket PC, are you copying the trusted certificates file to the
device and referencing the device copy in your app?
Mike
"Q Jin" <qjin@trialstat.com> wrote in message
news:43d79836$1@foru
ms-2-dub...
> Hi Mike :
>
> Connection.syncResult. getStreamErrorCode()
returns 0 which
> probably is the number from old successful synchronization.
>
>
> "Mike Vander Ploeg" < mvanderp_asdf@sybase
.com> wrote in message
> news:43d64e31$1@foru
ms-2-dub...
> trusted_certificates
=" c:\winnt\system32\mo
bilink.crt";
> wrong
>
>
| |
| Q Jin 2006-01-31, 11:23 am |
| Hi Mike:
How can I get the sqlcode? There is no such
SQLE_COMMUNICATIONS_
ERROR showing up.
For the pocket pc , I did copy the certificate into the device and give a
path to it.
I also use a network package sniffer to detect all the packages
sending out from my machine. When I changed synch param from
STREAM_TYPE_HTTP to STREAM_TYPE_HTTPS. There is no package sending out. Is
this STREAM_TYPE_HTTPS param working at all?
Qingbo
"Mike Vander Ploeg" < mvanderp_asdf@sybase
.com> wrote in message
news:43d7dd09$1@foru
ms-2-dub...
> Is the sqlcode you're getting back -85, SQLE_COMMUNICATIONS_
ERROR?
>
> On the Pocket PC, are you copying the trusted certificates file to the
> device and referencing the device copy in your app?
>
> Mike
>
> "Q Jin" <qjin@trialstat.com> wrote in message
> news:43d79836$1@foru
ms-2-dub...
>
>
| |
| Mike Vander Ploeg 2006-02-01, 9:24 am |
| Here is an example of how to get the sqlcode:
dbMgr = CreateObject( "iAnywhere.UltraLite.DatabaseManager.CustDB" );
... ...
alert( dbMgr.sqlCode );
If you aren't seeing anything on the wire, then an error must be occurring
before any data is written.
Have you purchased the security add-on? ulrsa9.dll must be deployed to the
device.
Mike
"Q Jin" <qjin@trialstat.com> wrote in message news:43df83c8@forums
-2-dub...
> Hi Mike:
>
> How can I get the sqlcode? There is no such
> SQLE_COMMUNICATIONS_
ERROR showing up.
> For the pocket pc , I did copy the certificate into the device and give a
> path to it.
>
> I also use a network package sniffer to detect all the packages
> sending out from my machine. When I changed synch param from
> STREAM_TYPE_HTTP to STREAM_TYPE_HTTPS. There is no package sending out.
> Is
> this STREAM_TYPE_HTTPS param working at all?
>
> Qingbo
>
> "Mike Vander Ploeg" < mvanderp_asdf@sybase
.com> wrote in message
> news:43d7dd09$1@foru
ms-2-dub...
>
>
| |
|
| Hi Mike :
Thanks . The sqlCode returns 0 . We have purchased the
security component. I can find the file ulrsa9.dll under the
sybase/ianywhere folder. Then I copied c:\programfiles\syba
se\ianywhere
9\ultralite\win32\38
6\ulrsa9.dll to the pods folder for win32 client. Then
I clicked about Mbusiness. It only shows the following information ,
however, there is no information about ulrsa9.dll
5.7 Build 32
JavaScript Pod v4.0
UltraLite Pod 9.0.2.2451
Then I copied c:\programfiles\syba
se\ianywhere
9\ultralite\ce\arm\u
lrsa9.dll to the pocket pc. Then I clicked the about
Mbusiness , the same, no information for the ulrsa9.dll. I also tried
to synch, still not working. Anything wrong with my process? Thanks
"Mike Vander Ploeg" < mvanderp_asdf@sybase
.com> wrote in message
news:43e0cdde@forums
-2-dub...
> Here is an example of how to get the sqlcode:
>
> dbMgr = CreateObject( "iAnywhere.UltraLite.DatabaseManager.CustDB" );
> ... ...
> alert( dbMgr.sqlCode );
>
> If you aren't seeing anything on the wire, then an error must be occurring
> before any data is written.
>
> Have you purchased the security add-on? ulrsa9.dll must be deployed to
the
> device.
>
> Mike
>
> "Q Jin" <qjin@trialstat.com> wrote in message
news:43df83c8@forums
-2-dub...
a[color=darkred]
something[color=dark
red]
>
>
| |
| Mike Vander Ploeg 2006-02-03, 11:23 am |
| ulrsa9.dll needs to be copied into the Windows directory, not the pods
folder. This dll is not a pod itself, but is loaded by the UltraLite Pod.
Mike
"Q Jin" <qjin@trialstat.com> wrote in message
news:43e0f37e$1@foru
ms-2-dub...
> Hi Mike :
>
> Thanks . The sqlCode returns 0 . We have purchased the
> security component. I can find the file ulrsa9.dll under the
> sybase/ianywhere folder. Then I copied c:\programfiles\syba
se\ianywhere
> 9\ultralite\win32\38
6\ulrsa9.dll to the pods folder for win32 client.
> Then
> I clicked about Mbusiness. It only shows the following information ,
> however, there is no information about ulrsa9.dll
>
> 5.7 Build 32
> JavaScript Pod v4.0
> UltraLite Pod 9.0.2.2451
>
>
> Then I copied c:\programfiles\syba
se\ianywhere
> 9\ultralite\ce\arm\u
lrsa9.dll to the pocket pc. Then I clicked the about
> Mbusiness , the same, no information for the ulrsa9.dll. I also tried
> to synch, still not working. Anything wrong with my process? Thanks
>
>
>
> "Mike Vander Ploeg" < mvanderp_asdf@sybase
.com> wrote in message
> news:43e0cdde@forums
-2-dub...
> the
> news:43df83c8@forums
-2-dub...
> a
> something
>
>
| |
| Jeff Albion \(iAnywhere Solutions\) 2006-02-03, 8:23 pm |
| Qingbo,
Since you have a case open with our technical service team already, please
forward any questions to me, in order to reduce duplication of effort. This
way we can deal with questions internally, make notes in the case notes, and
the get the answers in the most efficient manner possible.
Thanks!
----
Jeff Albion
Product Support Analyst
iAnywhere Solutions
"Mike Vander Ploeg" < mvanderp_asdf@sybase
.com> wrote in message
news:43e391ba$1@foru
ms-1-dub...
> ulrsa9.dll needs to be copied into the Windows directory, not the pods
> folder. This dll is not a pod itself, but is loaded by the UltraLite Pod.
>
> Mike
>
> "Q Jin" <qjin@trialstat.com> wrote in message
> news:43e0f37e$1@foru
ms-2-dub...
>
>
|
|
|
|
|