Home > Archive > SQL Anywhere ultralite > August 2005 > Re: UltraLite.NET /VB.NET Mobilink Synchronization









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 Re: UltraLite.NET /VB.NET Mobilink Synchronization
Stevenson Stewart

2005-08-05, 11:23 am

Phillppe,

I am attempting to synchronize an UltraLite database containing a single
table with an SQL Server 2000 database using the UltraLite.NET component.

I've used the indicated parameters in my sample application. I compiled and
deployed the application to a pocketPc device. The application loads.
However, when start the sync, it returns the following error:

" A managed ULException occurred at application::Run+0xf


" Information for synchronization is incomplete or invalid, check' -n/a



Which leaves me with the following questions:

1. I know the mobilink server must be running. Is the mobilink server
compiled into the UltraLite.NET component? and if yes, is it automatically
launched? If not, is there a component that must be added to the system?

2. I assume the answer to the above is no, because the server should be
running on the system that is hosting the consolidated database. If that is
the case, I am having difficulty getting the mobilink server to start on my
test host. I am running the command line executable with the following
parameters:

dbmlsrv9 -c "dsn=sampleapp" [-za -zu+] -x tcpip

(The brackets indicate optional parameters sometimes included.)



The following Mobililnk Error Message is Generated:

E. 08/05 10:52:18. <Main>: Error: [-10002] ODBC: [Microsoft][ODBC SQL Server
Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated
with a trusted SQL Server connection. (ODBC State = 28000, Native error code
= 18452)



Note the Following:

An ODBC connection is configured in the ODBC Data Source.



To the best of my ability, using the UltraLite Schema Painter, the
publication and synchronization have been created.


Shuchit

2005-08-08, 9:23 am

"Stevenson Stewart" <stevenson@symbology.net> wrote in
news:42f38276$1@foru
ms-1-dub:

> The following Mobililnk Error Message is Generated:
>
> E. 08/05 10:52:18. <Main>: Error: [-10002] ODBC: [Microsoft][ODBC SQL
> Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not
> associated with a trusted SQL Server connection. (ODBC State = 28000,
> Native error code
>= 18452)
>


That says the user name was not specified. Try specifying it in the
connection string when you start the server
eg:

dbmlsrv9 -c " dsn=sampleapp;uid=us
er_name;pwd=password
" -x tcpip


Shuchit
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