|
Home > Archive > SQL Anywhere Mobile > June 2005 > Mobilink Synchronization Problem
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 Synchronization Problem
|
|
|
|
Hi,
I am trying to use .NET Synchronization logic in my application, where on
sync I would like to do some authentication.
I followed the .NET synchronization example given in Mobilink help documents
and ran dbmlsrv9 with the options specified.
Server starts successfully loading the assemblies.
But when I synchronize from Pocket PC , the errors shown below are thrown.
Could some one help me please on what's going on ?
----------------------------------------------------------------------------
I. 06/21 11:06:16. <Main>: MobiLink server started
I. 06/21 11:06:16. <Main>: Local file for remote synchronization logs:
'dbmlsrv.mle'
I. 06/21 11:06:16. <Main>: Stream specifier 1: TCPIP
I. 06/21 11:06:18. <Main>: Loaded Assembly "iAnywhere.MobiLink.Script,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=a53f0
c6f719e2641" from
"file:///C:/Program Files/Sybase/SQL Anywhere
9/win32/iAnywhere.MobiLink.Script.dll" into Domain
" DefaultMobiLinkDNetS
criptingDomain".
I. 06/21 11:06:18. <Main>: Loaded Assembly "iAnywhere.MobiLink,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" from
"file:///C:/Program Files/Sybase/SQL Anywhere
9/win32/iAnywhere.MobiLink.dll" into Domain
" DefaultMobiLinkDNetS
criptingDomain".
I. 06/21 11:06:18. <Main>: Loaded Assembly "example, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null" from "file:///C:/fun/example.DLL" into
Domain " DefaultMobiLinkDNetS
criptingDomain".
I. 06/21 11:06:18. <thread 1.1>: Ready to handle requests
I. 06/21 11:06:18. <thread 1.2>: Ready to handle requests
I. 06/21 11:06:18. <thread 1.3>: Ready to handle requests
I. 06/21 11:06:18. <thread 1.4>: Ready to handle requests
I. 06/21 11:06:18. <thread 1.5>: Ready to handle requests
E. 06/21 11:08:00. <1.4> [madhu]: Error: Unable to load Assembly "example"
into domain " DefaultMobiLinkDNetS
criptingDomain".
E. 06/21 11:08:00. <1.4> [madhu]: Error: No Assembly in domain
" DefaultMobiLinkDNetS
criptingDomain" contains type "'MLExample.AuthClass".
E. 06/21 11:08:00. <1.4> [madhu]: Error: Unable to load Assembly "example"
into domain " DefaultMobiLinkDNetS
criptingDomain".
E. 06/21 11:08:00. <1.4> [madhu]: Error: No Assembly in domain
" DefaultMobiLinkDNetS
criptingDomain" contains type "'MLExample.AuthClass".
E. 06/21 11:08:00. <1.4> [madhu]: Error: [-10018] Error fetching connection
script begin_connection
E. 06/21 11:08:00. <1.4> [madhu]: Error: Unable to load Assembly "example"
into domain " DefaultMobiLinkDNetS
criptingDomain".
E. 06/21 11:08:00. <1.4> [madhu]: Error: No Assembly in domain
" DefaultMobiLinkDNetS
criptingDomain" contains type "'MLExample.AuthClass".
E. 06/21 11:08:00. <1.4> [madhu]: Error: [-10018] Error fetching connection
script end_connection
----------------------------------------------------------------------------
Thanks
Madhu
| |
|
| Sorry for not providing the version information. Here it is.
ML 9.0.2.3044
Windows Mobile 2003 2nd ed 4.21.1088.14049
Ultralite
Thanks
Madhu
"madhu" <madhu. sangam@mobiledatafor
ce.com> wrote in message
news:42b85322$1@foru
ms-1-dub...
>
> Hi,
>
> I am trying to use .NET Synchronization logic in my application, where on
> sync I would like to do some authentication.
> I followed the .NET synchronization example given in Mobilink help
> documents and ran dbmlsrv9 with the options specified.
> Server starts successfully loading the assemblies.
>
> But when I synchronize from Pocket PC , the errors shown below are thrown.
> Could some one help me please on what's going on ?
>
> ----------------------------------------------------------------------------
>
> I. 06/21 11:06:16. <Main>: MobiLink server started
> I. 06/21 11:06:16. <Main>: Local file for remote synchronization logs:
> 'dbmlsrv.mle'
> I. 06/21 11:06:16. <Main>: Stream specifier 1: TCPIP
> I. 06/21 11:06:18. <Main>: Loaded Assembly "iAnywhere.MobiLink.Script,
> Version=1.0.0.0, Culture=neutral, PublicKeyToken=a53f0
c6f719e2641" from
> "file:///C:/Program Files/Sybase/SQL Anywhere
> 9/win32/iAnywhere.MobiLink.Script.dll" into Domain
> " DefaultMobiLinkDNetS
criptingDomain".
> I. 06/21 11:06:18. <Main>: Loaded Assembly "iAnywhere.MobiLink,
> Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" from
> "file:///C:/Program Files/Sybase/SQL Anywhere
> 9/win32/iAnywhere.MobiLink.dll" into Domain
> " DefaultMobiLinkDNetS
criptingDomain".
> I. 06/21 11:06:18. <Main>: Loaded Assembly "example, Version=0.0.0.0,
> Culture=neutral, PublicKeyToken=null" from "file:///C:/fun/example.DLL"
> into Domain " DefaultMobiLinkDNetS
criptingDomain".
> I. 06/21 11:06:18. <thread 1.1>: Ready to handle requests
> I. 06/21 11:06:18. <thread 1.2>: Ready to handle requests
> I. 06/21 11:06:18. <thread 1.3>: Ready to handle requests
> I. 06/21 11:06:18. <thread 1.4>: Ready to handle requests
> I. 06/21 11:06:18. <thread 1.5>: Ready to handle requests
> E. 06/21 11:08:00. <1.4> [madhu]: Error: Unable to load Assembly "example"
> into domain " DefaultMobiLinkDNetS
criptingDomain".
> E. 06/21 11:08:00. <1.4> [madhu]: Error: No Assembly in domain
> " DefaultMobiLinkDNetS
criptingDomain" contains type "'MLExample.AuthClass".
> E. 06/21 11:08:00. <1.4> [madhu]: Error: Unable to load Assembly "example"
> into domain " DefaultMobiLinkDNetS
criptingDomain".
> E. 06/21 11:08:00. <1.4> [madhu]: Error: No Assembly in domain
> " DefaultMobiLinkDNetS
criptingDomain" contains type "'MLExample.AuthClass".
> E. 06/21 11:08:00. <1.4> [madhu]: Error: [-10018] Error fetching
> connection script begin_connection
> E. 06/21 11:08:00. <1.4> [madhu]: Error: Unable to load Assembly "example"
> into domain " DefaultMobiLinkDNetS
criptingDomain".
> E. 06/21 11:08:00. <1.4> [madhu]: Error: No Assembly in domain
> " DefaultMobiLinkDNetS
criptingDomain" contains type "'MLExample.AuthClass".
> E. 06/21 11:08:00. <1.4> [madhu]: Error: [-10018] Error fetching
> connection script end_connection
>
> ----------------------------------------------------------------------------
>
> Thanks
> Madhu
>
| |
| Randy Jheeta 2005-06-22, 8:24 pm |
| What does your MobiLink server startup line look like?
Did you remember to include the -sl dnet switch, and specify the path to
your assemblies?
e.g) dbmlsrv9 -c "dsn=mydsn" -sl dnet
(- MLAutoLoadPath=c:\pa
th_to_assemblies)
"madhu" <madhu. sangam@mobiledatafor
ce.com> wrote in message
news:42b88a9a$2@foru
ms-2-dub...
> Sorry for not providing the version information. Here it is.
>
> ML 9.0.2.3044
> Windows Mobile 2003 2nd ed 4.21.1088.14049
> Ultralite
>
>
> Thanks
> Madhu
>
>
>
> "madhu" <madhu. sangam@mobiledatafor
ce.com> wrote in message
> news:42b85322$1@foru
ms-1-dub...
on[color=darkred]
thrown.[color=darkred]
>
> --------------------------------------------------------------------------
--
"example"[color=darkred]
"'MLExample.AuthClass".[color=darkred]
"example"[color=darkred]
"'MLExample.AuthClass".[color=darkred]
"example"[color=darkred]
"'MLExample.AuthClass".[color=darkred]
>
> --------------------------------------------------------------------------
--
>
>
| |
|
| Finally got the thing resolved. Thanks for the help from the Technical Guys
at iAnywhere and also the forum.
Here is the info for someone who might run into this.
Just make sure that your assemblies in Global assembly Cache are up to date.
I had some old references from my sybase builds lying around.
Madhu
|
|
|
|
|