If you are having any problems with your application, follow these steps to correct the problems.
Make note of the problems you are having with your application.
Read the questions and answers in the table that follows.
The table provides you with some information that can help you troubleshoot your application:
Question |
Answer |
---|---|
When I start the SalesDB application, the Connect to Adaptive Server… dialog displays. The application cannot establish a connection to the database. |
This is most likely due to an incorrect DSN file. Check the SalesDB_remote.DSN located at the root directory of the device or emulator and make sure that the database file and start properties point to the correct locations. |
When I initialize synchronization from the device or emulator, the MobiLink window shows the error Error: Protocol version mismatch. |
Check the version of the ASA engine on the device or emulator and the version of the MobiLink server. Both components need to be version 9.0 or higher. ASA 9.0 is bundled with PocketBuilder. |
When I initialize synchronization from the device or emulator, the MobiLink window shows the error Communication error occurred while receiving data from the MobiLink server. |
Make sure the MobiLink server is running and check the MobiLink server log for more details. |
When I initialize synchronization from the device, MobiLink stalls while displaying the message Connecting to MobiLink server at ... using dbsock9.dll. |
In the SalesDB application on the device, select File>Sync Options and click the ML Server tab. Then type the host and port of the MobiLink server you want to connect to and try to synchronize again. |
When I initialize synchronization from the device or emulator, an ASA MobiLink Synchronization dialog displays with the message Error in command near “-pd”. |
Make sure ASA 9.0.0 build 1108 or later is installed on the device or emulator. Previous builds do not support this switch. ASA 9.0.0 build 1108 is bundled with PocketBuilder. |
This completes the lesson. This lesson demonstrates the foundation of building a PocketBuilder application using Adaptive Server Anywhere databases and MobiLink synchronization technology.
For more information, see the chapter on ASA database technology in the PocketBuilder User’s Guide and the chapter on MobiLink technology in the PocketBuilder Resource Guide. Also see the SQL Anywhere Studio documentation that is related to these technologies.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |