No Data or Images Appear on the Device

Problem: No data or images appear on the mobile device.

Explanation 1: This may indicate that operation parameter datatypes (int, decimal, image, and so on) are mapped incorrectly. You map parameter datatypes to strings from the Mobile Application Diagram when you create an MBO operation.

Solution:
  1. From the Mobile Application Diagram, double-click the operation to show in the Properties View.
  2. Select the Parameters tab.
  3. Select a datatype in the first Datatype column that matches the one in the second Datatype column. For the image type, you need to provide binary type, and the size of the binary.
  4. You may need to configure the specified column, using the Edit Box on Screen Design, to show the contents on the device correctly.
  5. You may also need to update the logical type, similar to image type, to show the contents on device correctly.
Explanation 2: The synchronization result may be empty if these rules are not followed:
  • When the backend is a SQL Anywhere database, and using the CHAR NULLABLE column as a sync parameter, you do not need to pad the value with spaces. When using the CHAR NOT NULLABLE column as a sync parameter, you need to pad the value with spaces.
  • When the backend is a non-SQL Anywhere database, and using the CHAR column as a sync parameter, you always need to pad the value with spaces.

Solution: Re-evaluate the synchronization parameter value, and make modifications using these rules as a guide.

Explanation 3: This may indicate that a new cache database (CDB) in an existing SQL Anywhere environment needs trailing spaces enabled to perform proper comparison by ignoring the trailing blanks. When device client provides a synchronization parameter value, it must include trailing spaces. UTF8 collations are also a requirement for Unwired Platform.

Solution: See System Administration for Sybase Unwired Platform > Environment Setup > Database Setup > Initializing a New Cache Database for information about setting up the environment properly.

Related tasks
Binding an MBO to a Database Fails
Structure MBOs Not Automatically Generated After Rebinding
Multilevel Insert Operation Fails
Related reference
Troubleshooting MBOs
Troubleshooting Improperly Designed Mobile Business Objects
Database MBO Fails on Execution
Web Service MBO Sync Exceptions After an Interface Change
Search Errors and the RTRIM Function
Update Operation Fails
Relationship Error
SQL Statement Yields Unexpected Results
Warning Message When Creating Relationships
Synchronization Fails if Binary Attributes Have Unspecified Length