SQLE_TOO_MANY_PUBLICATIONS Error

Problem: If there are more than 30 syncable mobile business objects (MBOs) in a package, and fewer than 30 syncable MBOs in the Device Application Designer file, a SQLE_TOO_MANY_PUBLICATIONS error may occur when you synchronize the MBOs on Windows Mobile.

Solution:
  1. In Unwired WorkSpace, open Program.cs, which is located in %Visual Studio solution folder%\%Client project name% .
  2. Set the value of Sybase.UnwiredPlatform.Data.DatabaseUtilities.UseDynamicPublication to true.
  3. Rebuild and redeploy the project to your Windows Mobile device.