| Author |
DBConnection Context
|
|
|
| ML 9.0.2.3044
Windows Mobile 2003 2nd ed 4.21.1088.14049
Ultralite
Location in SQL Anywhere Studio 9.0.2 Help Documentation
------------------------------------------------------------
Mobilink Administrative Guide
Writing Synchronization Scripts in .NET
Writing .NET Synchronization logic
Constructors.
The documentation says the following
-------------------------------------
The constructor of your class can have one of two possible signatures.
public ExampleClass( iAnywhere.MobiLink.Script.DBConnectionContext cc )or
public ExampleClass()The synchronization context passed to you is for the
connection through which the MobiLink synchronization server is
synchronizing the current user.
The MobiLink synchronization server prefers to use constructors with the
first signature. It only uses the void constructor if a constructor with the
first signature is not present.
------
Is this true? Every time I use the example I see
No Valid Constructor error in the Mobilink Server Log?
Did anyone get this to work with .NET ?
Thanks
Madhu
| |
| Reg Domaratzki \(iAnywhere Solutions\) 2005-06-28, 8:25 pm |
| I have never had any problems compiling and using the Authentication sample
in the documentation.
As you have a tech support issue open right now, I'll respond with
additional comments through the Tech Support person working your case.
--
Reg Domaratzki, Sybase iAnywhere Solutions
Sybase Certified Professional - Sybase ASA Developer Version 8
Please reply only to the newsgroup
iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs : http://downloads.sybase.com/swx/sdmain.stm
-> Choose SQL Anywhere Studio
-> Set "Platform Preview" and "Time Frame" to ALL
"madhu" <madhu. sangam@mobiledatafor
ce.com> wrote in message
news:42c03c9e$1@foru
ms-1-dub...
> ML 9.0.2.3044
> Windows Mobile 2003 2nd ed 4.21.1088.14049
> Ultralite
>
>
> Location in SQL Anywhere Studio 9.0.2 Help Documentation
> ------------------------------------------------------------
>
> Mobilink Administrative Guide
> Writing Synchronization Scripts in .NET
> Writing .NET Synchronization logic
> Constructors.
>
>
>
> The documentation says the following
> -------------------------------------
>
> The constructor of your class can have one of two possible signatures.
>
> public ExampleClass( iAnywhere.MobiLink.Script.DBConnectionContext cc )or
>
> public ExampleClass()The synchronization context passed to you is for the
> connection through which the MobiLink synchronization server is
> synchronizing the current user.
>
> The MobiLink synchronization server prefers to use constructors with the
> first signature. It only uses the void constructor if a constructor with
the
> first signature is not present.
> ------
>
> Is this true? Every time I use the example I see
>
> No Valid Constructor error in the Mobilink Server Log?
>
> Did anyone get this to work with .NET ?
>
> Thanks
> Madhu
>
>
| |
|
| 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
|
|
|
|