# Primary key for table 'servoy\_releases' is not unique

**URL:** <https://forum.servoy.com/t/primary-key-for-table-servoy-releases-is-not-unique/14388>\
**Category:** Classic Servoy\
**Created:** [August 1, 2011, 4:13pm UTC](https://forum.servoy.com/t/primary-key-for-table-servoy-releases-is-not-unique/14388 "2011-08-01T16:13:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thunder](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@Thunder](https://forum.servoy.com/u/Thunder)\
**Post date:** [August 1, 2011, 4:13pm UTC](https://forum.servoy.com/t/primary-key-for-table-servoy-releases-is-not-unique/14388/1 "2011-08-01T16:13:56Z")

</div>

Hi All

I have this error when trying to import any solution into our servoy 4.1.6 server using Sybase10 on a Mac.

The server also has a Servoy 6 server on it, but that is running on different ports, and a different database (Postgres)

The full error on import is:

> [error] com.sybase.jdbc3.jdbc.SybSQLException: SQL Anywhere Error -193: Primary key for table ‘servoy\_releases’ is not unique

I have tried deleting and re-importing the solution (it deletes but still fails to re-import). I have also tried to update sequences for all databases from admin, but that only seems to affect databases created by me.

I’d be grateful for any ideas…

Bevil

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [August 2, 2011, 8:32am UTC](https://forum.servoy.com/t/primary-key-for-table-servoy-releases-is-not-unique/14388/2 "2011-08-02T08:32:01Z")

</div>

Can you try in Servoy 6.0 (export and import same solution). Does it work ?

---

<div class="post-metadata">

**Author:** ![Thunder](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@Thunder](https://forum.servoy.com/u/Thunder)\
**Post date:** [August 2, 2011, 11:11am UTC](https://forum.servoy.com/t/primary-key-for-table-servoy-releases-is-not-unique/14388/3 "2011-08-02T11:11:51Z")

</div>

Hi Laurian

I am sure my solution will work in 6, however my main server is still in v.4. I think the problem is with the server / server database rather than in my export…

Is there something I can check on the server?

Thanks

Bevil

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [August 2, 2011, 11:29am UTC](https://forum.servoy.com/t/primary-key-for-table-servoy-releases-is-not-unique/14388/4 "2011-08-02T11:29:13Z")

</div>

When you delete all solutions is there something left in table ‘servoy\_releases’ ? Maybe it got corrupted somehow… (check with external sql tool)

---

<div class="post-metadata">

**Author:** ![Thunder](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@Thunder](https://forum.servoy.com/u/Thunder)\
**Post date:** [August 2, 2011, 11:32am UTC](https://forum.servoy.com/t/primary-key-for-table-servoy-releases-is-not-unique/14388/5 "2011-08-02T11:32:15Z")

</div>

Hi Laurian

I had a look but couldn’t find a useable servoy\_releases table… I’ll have another look…

Bevil

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [August 2, 2011, 11:36am UTC](https://forum.servoy.com/t/primary-key-for-table-servoy-releases-is-not-unique/14388/6 "2011-08-02T11:36:06Z")

</div>

> Thunder:  
> Hi Laurian
> 
> I had a look but couldn’t find a useable servoy\_releases table… I’ll have another look…
> 
> Bevil

it’s in the servoy\_repository database
