Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

We have been playing around with a sync app to run on the Android and iPhone. Currently we are just trying to synchronize a simple table. Everything is working on the Android but we are getting a -1092 error on the iPhone which says something about "Feauture no enabled ...."

Does anyone know what could cause this? We are using version 12 and we are going off the iPhone tutorial. Everything has worked fine up until the point we tried to add the synchronization. As I stated above, the application synchs fine with the Android app that was developed in UltraJ.

Any help is greatly appreciated!

asked 18 May '12, 11:25

Codecranker's gravatar image

Codecranker
506283238
accept rate: 20%


Assuming that you have not deviated from the functionality used in the tutorial, have you missed this call in your code prior to calling the synchronize call?

ULDatabaseManager::EnableTcpipSynchronization();

See http://dcx.sybase.com/index.html#1201/en/ulc/ulc-add-synch.html starting at the section "Adding synchronization to the iPhone application".

permanent link

answered 18 May '12, 11:37

Chris%20Keating's gravatar image

Chris Keating
7.8k49128
accept rate: 32%

edited 18 May '12, 11:37

Thanks Chris,

We figured it out. We had an old DB residing on the iPhone. After we deleted the DB and tried again, it took off without a problem. Thanks!!!!

permanent link

answered 18 May '12, 12:18

Codecranker's gravatar image

Codecranker
506283238
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×162

question asked: 18 May '12, 11:25

question was seen: 1,683 times

last updated: 18 May '12, 12:18