# Solution suddenly wont import

**URL:** <https://forum.servoy.com/t/solution-suddenly-wont-import/7144>\
**Category:** Classic Servoy\
**Created:** [February 23, 2007, 6:20pm UTC](https://forum.servoy.com/t/solution-suddenly-wont-import/7144 "2007-02-23T18:20:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpearce](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dpearce](https://forum.servoy.com/u/dpearce)\
**Post date:** [February 23, 2007, 6:20pm UTC](https://forum.servoy.com/t/solution-suddenly-wont-import/7144/1 "2007-02-23T18:20:58Z")

</div>

I have added two field to my solution in order to explore the IT2 and MIG calendar bean

they are two DATETIME fields app\_start and app\_end.

Both are fine in MYSQL and dont have any autoenter properties set.

The solution works fine in Developer 3.1.3,

now when i come to import it into my server it wont, as it says

```auto
[error]	com.servoy.j2db.persistence.RepositoryException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Duplicate column name 'app_end'

```

But the column is not duplicated?!?

So i dont understand what has happened? My server is on Linux and i havent upgraded it from 3.1, but i dont htink that the problem.

Ideas?

David

---

<div class="post-metadata">

**Author:** ![grahamg](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@grahamg](https://forum.servoy.com/u/grahamg)\
**Post date:** [February 23, 2007, 9:00pm UTC](https://forum.servoy.com/t/solution-suddenly-wont-import/7144/2 "2007-02-23T21:00:18Z")

</div>

David

Could it be that you have modified the DB tables on your Server outside Servoy - ie by copying tables across? This could cause the problem when Servoy tries to create ‘new’ columns/fields as part of the import but finds they are already there.

If so I suggest you export any data then delete the field(s) and retry the import.

Regards

Graham Greensall  
Worxinfo Ltd

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [February 26, 2007, 10:27am UTC](https://forum.servoy.com/t/solution-suddenly-wont-import/7144/3 "2007-02-26T10:27:00Z")

</div>

If you do changes on the datamodel outside of Servoy, you have to restart the developer/server to get back in sync with the database.

---

<div class="post-metadata">

**Author:** ![dpearce](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dpearce](https://forum.servoy.com/u/dpearce)\
**Post date:** [February 26, 2007, 10:34am UTC](https://forum.servoy.com/t/solution-suddenly-wont-import/7144/4 "2007-02-26T10:34:54Z")

</div>

That must be what it was,

i had modifed the solution in Developer and not restarted the server before doing the import, that must be why it suddenly worked!

David.
