# Urgent: Servoy Developer refuses to save

**URL:** <https://forum.servoy.com/t/urgent-servoy-developer-refuses-to-save/7769>\
**Category:** Classic Servoy\
**Created:** [July 4, 2007, 8:45am UTC](https://forum.servoy.com/t/urgent-servoy-developer-refuses-to-save/7769 "2007-07-04T08:45:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![swingman](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/swingman/32/4536_2.png) [@swingman](https://forum.servoy.com/u/swingman)\
**Post date:** [July 4, 2007, 8:45am UTC](https://forum.servoy.com/t/urgent-servoy-developer-refuses-to-save/7769/1 "2007-07-04T08:45:17Z")

</div>

I get the following message when trying to save after modifying forms/scripts:

```auto
com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constraint "servoy_elements_pkey"
org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constraint "servoy_elements_pkey"

```

I have restarted developer, but this did not help.

Developer 3.1.3  
Mac OS X 10.4.10  
Repostitory in PostgreSQL 8.1.4, Windows

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [July 4, 2007, 9:17am UTC](https://forum.servoy.com/t/urgent-servoy-developer-refuses-to-save/7769/2 "2007-07-04T09:17:12Z")

</div>

Hi Christian,

What if you update your table sequences in the admin pages for your servoy\_repository connection?

Hope this helps.

---

<div class="post-metadata">

**Author:** ![swingman](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/swingman/32/4536_2.png) [@swingman](https://forum.servoy.com/u/swingman)\
**Post date:** [July 4, 2007, 9:50am UTC](https://forum.servoy.com/t/urgent-servoy-developer-refuses-to-save/7769/3 "2007-07-04T09:50:29Z")

</div>

Hi Robert,

Good thinking!  
I need to wait until the lunchbreak so I can kick all the users out

Thanks,

Christian

---

<div class="post-metadata">

**Author:** ![swingman](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/swingman/32/4536_2.png) [@swingman](https://forum.servoy.com/u/swingman)\
**Post date:** [July 4, 2007, 7:43pm UTC](https://forum.servoy.com/t/urgent-servoy-developer-refuses-to-save/7769/4 "2007-07-04T19:43:50Z")

</div>

> ROCLASI:  
> Hi Christian,
> 
> What if you update your table sequences in the admin pages for your servoy\_repository connection?
> 
> Hope this helps.

You can do this to a repository. The sequence are OK by the looks of it, so I have decided to try to reimport into a new repository.
