Frequently Asked Questions

  • General
  • 1. Why should I use SyncStudio?

    In short: time, effort and cost. If you need to synchronize a Microsoft SQL database with multiple mobile clients SyncStudio will take care of the complete synchronization task for you. For Software Developers, this translates into 100's of hours of work, including the need to write the mobile client synchronization code from scratch. Off-loading the synchronization code and task to SyncStudio will let you concentrate on writing a great app and will get your product to market much faster and cost you less.
  • 2. Why not just use the Microsoft Sync Framework instead of SyncStudio?

    SyncStudio is dramatically more enhanced, robust, up to date and reliable than the Microsoft Sync Framework.  While SyncStudio does use the Microsoft Sync Framework as its base we have made significant improvements which result in a totally transformed solution.  A solution that saves you time, money and effort. While the Microsoft Sync Framework is free it is also a very a low-level developer’s tool, and not a simple one to learn or master. SyncStudio insulates you from having to learn anything about the MS SyncFx and from having to write even one line of synchronization code (server or client side).
  • 3. I have thousands of clients. How do I deploy the database to all these devices?

    When a client synchronizes for the first time SyncStudio will detect the fact that the database does not exist and will download the database Schema from your server and create an equivalent database structure in SQLite, SQL LocalDB or SQL Server. With SyncStudio, deploying the database schema to your client devices is completely transparent and does not require any coding or development effort on your part.
  • 4. No, really, I have thousands and thousands of clients! Do you support this?

    Yes. The SyncStudio Synchronization code runs under IIS. If you have a very large user base all you have to do is install multiple web servers and have them share the load.
  • 5. How does SyncStudio help me to maintain many mobile client databases?

    The biggest source of maintenance issues and problems in Database Synchronization systems is the need to align the client’s database whenever you make changes to the database structure at the server. Some schema changes can cause database corruption and severe problems for your application if some clients are updated and some not. SyncStudio has an Automatic Schema Synchronization feature that takes care of this issue for you. All you have to do is follow some simple and common sense design rules when making changes to your data structures and SyncStudio will make the client Schema Synchronization completely transparent to your clients.
  • Licensing
  • 1. What kind of license do I need for SyncStudio?

    SyncStudio is licensed in several ways:  Free Developer License, Royalty Free and Production    For details please visit our product licensing page
  • 2. We are a Software company. Can we resell SyncStudio to our clients?

    Yes. You can because an authorized reseller and make money from every SyncStudio license you sell. For more information on our reseller program please contact sales@handapps.com.
  • 3. I have a very large user base. Do you have some type of Enterprise License?

    Yes, please contact us at sales@handapps.com for special licensing arrangements.
  • 4. Can I give the same User Id to more than one user?

    Sorry, no. Every user must have a different User Id, otherwise they will interfere with each other and you will not be able to synchronize. If two of your users accidentally use the same User Id the only recourse is to have them delete the local database (you will lose any pending transactions), enter the appropriate User Id and Password for each one in their respective devices and re-synchronize. Please note that this should never happen during normal usage because every user should have not only a unique User Id, but also their own secret password, which they should never give to anyone else. Additionally, sharing User Ids is a violation of the SyncStudio licensing terms, since we license this product on a per-user basis. In other words, it is not allowed (or possible) to buy a 5-user license and then have 100 users by giving everyone the same User Id and password— it will fail, your users will lose any transactions that have been entered but not uploaded to the server and will be forced to re-synchronize with a full download.
  • 5. Does my server need to have an Internet Connection?

    Yes. Your server needs to have an Internet connection with access to the outside world, even if your clients will only synchronize over your own internal network (i.e., the case where the clients come back to the central office, connect to an internal Wi-Fi network and synchronize). The SyncStudio server-side component needs to verify the license from time to time to ensure compliance with the terms of the license. If you do not provide an Internet connection or if you block access to our licensing server SyncStudio will stop working.
  • Database and Synchronization
  • 1. What about Data Integrity?

    SyncStudio transactions operate at the sync session-level. When a client synchronizes with your server, SyncStudio will not make any changes to the server until the entire upload session is finished without errors. Unlike SyncStudio, the standard Microsoft Sync Framework uses batch-level transactions that could leave your database in a corrupted state.
  • 2. I need replication instead of synchronization. Do you support this scenario?

    Yes. In this respect the only difference between Replication and full Synchronization is that in a Replication scenario you want the server data sent to the clients, but the client should never send any changes back to the server. Some typical uses of Replication are financial databases, news etc. that need to be sent to the client. In SyncStudio all you need to do to create a complete Data Replication solution is to mark the tables as Download-Only so that client changes are ignored. You still get the benefit of the synchronization mode in that the only records that are exchanged are those that have been changed at the server.
  • 3. My application is used for Data Collection, what we really need is only the upload phase. Do you support this scenario?

    Yes. Data Collection applications are a bit special, in that you still want to synchronize one or more database tables, but you do not want any server records for these tables sent to the client; all you want is for the data entered at each client to be sent to the server. All you have to do in this scenario is to mark these tables as Upload-Only and SyncStudio will take care of it. Of course, you can always combine Bi-Directional, Download-Only and Upload –Only tables in the same database.
  • 4. My Android application needs to have a private database. Can I use the Stand-alone SyncStudio Sync Client from the Google Play Store?

    Unfortunately no. Private databases are not visible to other applications. The Stand-alone SyncStudio Sync Client only supports “public” databases.  When your application needs to have a private database then you will need to include the appropriate SyncStudio class library (,JAR in Android) in your project. This way you can call the sync functions directly from within your application.
  • 5. I need to make a very small change to my database structure. Do I still need to de-provision the database?

    Yes. Any change to the database structure requires that you de-provision the database. This is the reason that we developed the Schema Synchronization feature of SyncStudio, to ease the task of propagating Schema changes to the clients; however, it requires a de-provisioning.
  • 6. I need to synchronize multiple databases on each device. Is this supported?

    Yes. All you have to do is create a separate profile for each database.
  • 7. What happens when I de-provision and re-provision my database?

    It loses all knowledge of the state of the clients. In practical terms, what happens is that the next time that your clients synchronize SyncStudio will first align the database structures (the Schemas) and then perform a complete sync of all the records, new and old alike.
  • 8. What happens if I need to make a change to my database that “breaks” the Schema Synchronization process?

    If you absolutely need to make this type of change you should consider the following strategy: a) Have all the clients synchronize. Make absolutely sure that you have all the data. b) Tell your clients to STOP entering data. c) Have your clients DELETE the local database (if you are using our sample SyncStudio client there is a menu option to delete the local database. If you are using the API then you need to delete the database yourself). d) Make your Schema changes (please back-up your old database first). e) De-provision/Re-provision your server database f) Re-generate and re-deploy the code to IIS g) Have every client synchronize.
  • 9. Can any SQL Server Database be synchronized?

    Generally yes, but there are a few limitations imposed by the MS Sync Framework. Your database cannot use special characters such as $ or spaces in field names, for example. Please refer to the SyncStudio documentation for the complete list of restrictions. If you have control over the database structures you should be able to work around these limitations by renaming fields and/or creating “companion” fields that can be synchronized.
  • 10. Some of my tables use an auto-increment integer field as the primary key. Is this allowed?

    Sorry, no. You cannot use auto-increment fields as primary keys. The reason for this limitation is that you will, in general, not have any control over the numbers assigned to new records at the client. If you use an auto-increment field for the primary key then two clients may use the same value and cause a conflict. Whenever you need to have primary keys that are automatically assigned you should use UUID (uniqueidentifier in SQL Server) fields instead of auto-increment fields.
  • 11. I see SQL Server dates being stored as Strings in SQLite. Why?

    The reason why we do this conversion is that SQLite does not have a date data type. Unfortunately, our choices for dates were rather limited, in that we could store dates as integers or as strings. We chose the string data type because it is the most flexible format and allows the maximum possible range of dates.
  • 12. Can I use Foreign Keys in my database?

    Yes. SyncStudio has full support for Foreign Key relationships.  Of course, all tables and fields involved in the foreign key relationship need to be part of the sync project.
  • 13. I need to change a table that is not being synchronized. Do I have to de-provision and re-provision my project?

    No. If the changes to your database only affect tables that are not being synchronized, then you do not need to re-provision the database.
  • 14. Should I use SSL to encrypt the synchronization session?

    Generally speaking, Yes. If you are going to use HTTPS you must purchase a real certificate for your server from a recognized certificate authority.  A self-signed SSL certificate is not supported by most client device operating systems. If you use plain HTTP the data will not be encrypted so keep this in mind for security reasons.  Furthermore, some cellular service providers will not allow the mobile device to access a URL that is not HTTPS.
  • For Developers
  • 1. Do I need to be a developer to use SyncStudio?

    No. A system administrator (or just a plain user!) can use the SyncStudio SMC to configure a complete database synchronization system, without writing a single line of code. So long as your client application does not require a private database, you can use one of the SyncStudio Sync Client application to synchronize with your database(s) and solve your synchronization problem with zero coding. There are Sync Client versions available for Windows, Windows CE/Mobile 6.5, Android, Universal Windows Platform and Xamarin Android.  The Sync Client sample for Xamarin iOS creates a private database.
  • 2. I am an experienced developer and I want complete control over the client Sync process. Can I still use SyncStudio in this scenario?

    Yes. SyncStudio has both sample Sync Client’s (with source) and a Sync API (Class Library) that you can add to your project.  SyncStudio API’s are available for Android, Basic4Android, Windows Forms, Windows CE/Mobile 6.5, Universal Windows Platform and Xamarin (Android/iOS). Client databases supported are SQLite and Microsoft SQL LocalDB, SQL Express as well full featured SQL. You are perfectly free to modify our sample clients to suit your needs, or you can use just the SyncStudio API and integrate the synchronization process into your application.
  • 3. We are a Software company. Can we integrate SyncStudio into our App so that it works seamless?

    Yes. You can incorporate our Sync API into your application and keep full control over the user experience. In most platforms, this allows you to have a private database that is visible only from inside your application. Our Sync API is provided in the form of platform specific class libraries. Currently we support .JAR for Android JAVA and Basic4Android (B4A) and .DLL for Windows, Windows CE/Mobile 6.5, Universal Windows Platform and Xamarin (Android/iOS)
  • Hardware and Software Requirements
  • 1. What are the Hardware and Software requirements for SyncStudio?

    The SyncStudio Sync Management Console and Sync Web Services run on Microsoft Windows 7,8x,10,2012 and up. This machine needs to have IIS 7 installed and enabled, and have at a minimum the .NET Framework 3.5. The client side Universal Sync Client and SDK supports Android 2.33 and up (Gingerbread, API Level 10), Windows, Windows CE/Mobile 6.5, Universal Windows Platform and Xamarin (Andoid/iOS). The server database can be any MS SQL Server version (including Express) from 2008 R2 and above.  Yes, we support all versions up to and including MS SQL 2016. The client side database can be SQLite, SQL LocalDB, SQL Server Express or any other flavor of MS SQL
  • 2. Can I run SyncStudio on a Virtual Machine?

    Yes. We have tested SyncStudio with several virtualization tools including VirtualBox (https://www.virtualbox.org/), VMWare and Microsoft Azure.  We don't know of any reason other virtualization environments should not work. For example, you can have your database only hosted in a virtual machine, or you can have the complete SyncStudio synchronization solution including the database hosted in the same virtual machine.
  • 3. What is the minimum Android version required for SyncStudio?

    SyncStudio requires Android 2.33 (Gingerbread, API Level 10) or higher.
  • Troubleshooting
  • 1. The SyncStudio is preventing me from adding some tables to my sync project. Why?

    This can happen for a few reasons. One possibility is the table does not have a primary key. Another possibility is that the name of the table is invalid (i.e., it contains characters that are not allowed). Also, using SQL reserved words for table or field names is not supported.  Nor is naming the primary key field the same as the table name. Whenever this happens you will get a message box explaining the reason why the table cannot be synchronized. Normally, all you have to do is rename the table, fields or indexes that are causing the problem.
  • 2. What happens when a Sync session fails?

    A sync session can fail for a number of reasons, the most common being data connection problems. SyncStudio uses a single-transaction during data upload or download.  So, if a sync session fails during upload the net result is that no records will be synchronized and no changes will be made to the server. If sync fails during download then no changes get made to the client.
  • 3. The sync from SQL Server to SQLite is failing when I have a table with a very large record size (over 1Mb). What can I do?

    This is due to a limitation of SQLite in which the “buffer” used to hold a table record is hard-coded to be 1 Mb max. Your only solution is to break-up the table and split the data fields between two or more tables, so as to stay under the 1 Mb limit.
  • 4. I have a client device that consistently fails to sync. All the other devices are syncing fine, except this one. What do I do now?

    You probably have a bad device or a corrupted database. One possibility is to delete the local database (please keep in mind that if you do this you will lose any new records entered at the client). Another possibility is that the client has entered data that cannot be synced. An example is a string field that is defined as 20 characters long at the server but where the client has entered 30 characters. Keep in mind that SQLite does not have any concept of size limits on string fields, so your application is responsible for these types of data checks. The same thing happens if you have a byte field defined at the server and the client enters a number too large to be stored in one byte. SQLite will happily let you do this, but SQL Server will reject it when you try to synchronize.
  • 5. SyncStudio does not allow me to synchronize some of my database fields because of special characters. What can I do?

    Rename the fields. If you do not have control over the field names your other option is to create a “companion” table with equivalent (but legal) field names, write a trigger to keep the two tables aligned and then sync only the companion table.

Top