Skip to Content
author's profile photo Former Member
Former Member

Error during project deployment

Hi,

When I'm trying to deploy the prject that I'm working on, I get an error.

When I look at the server log, I see this exception:

"com.sybase.jdbc3.jdbc.SybSQLException: SQL Anywhere Error -193: Primary key for table 'SYNC_DATA' is not unique: Primary key value ('1,412')"

All help appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 28, 2013 at 01:20 AM

    Are you talking about SM 2.x version ? if yes, has the project you were working deployed before, if yes, delete first and then try to deploy again. if no, try to delete the error message in the server log and re-deploy to see if the error message did come from deployment , if yes, try to check db to see in the table already have the data with that primary key

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 28, 2013 at 01:45 AM

    SQL Anywhere Error -193 says

    You attempted to add a new row to a table, but the new row has the same primary key as an existing row. The database has not added the incorrect row to the database. For example, you might have added a student with student number 86004 and there is already a row for a student with that number

    Follow the steps while redeploying the mbo

    http://scn.sap.com/community/developer-center/mobility-platform/blog/2013/05/11/steps-redeploy-mbo-package-to-sup-server

    Rgrds,

    Jitendra

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 02, 2013 at 05:23 PM

    Hi,

    has this issue been resolved?

    Rgrds,

    Jitendra

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 09, 2014 at 05:36 AM

    Hi,

    Is this issue resovled?

    Rgrds,

    Jitendra

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.