# Cannot import solution

**URL:** <https://forum.servoy.com/t/cannot-import-solution/2718>\
**Category:** Classic Servoy\
**Created:** [September 16, 2004, 3:31pm UTC](https://forum.servoy.com/t/cannot-import-solution/2718 "2004-09-16T15:31:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.mariottini](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@a.mariottini](https://forum.servoy.com/u/a.mariottini)\
**Post date:** [September 16, 2004, 3:31pm UTC](https://forum.servoy.com/t/cannot-import-solution/2718/1 "2004-09-16T15:31:48Z")

</div>

I developed my solution on Mac with servoy 2.1 beta.  
Now I upgraded to 2.1 final, and installed Servoy even on a Windows2000 server.  
Servoy server and developer seems to work without problems on Windows2000 server, but I’m not able to import my solution.

On the Mac I export the solution and this works.  
But when I try to import on the Win2000 server I have this error:  
**com.servoy.j2db.persistence.RepositoryException: java.lang.NullPointerException**

I tried even to reimport the solution on the Mac (with another name), but the same error occurs.

log.txt file reports simply same error.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [September 20, 2004, 12:09pm UTC](https://forum.servoy.com/t/cannot-import-solution/2718/2 "2004-09-20T12:09:38Z")

</div>

can you send me that solution?

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [September 20, 2004, 1:05pm UTC](https://forum.servoy.com/t/cannot-import-solution/2718/3 "2004-09-20T13:05:09Z")

</div>

seen the problem  
One of your security groups does have security settings over 2 servers. And only one server is used by that soluiton.

We will fix this so that the import/exporter handles this much better. But for now you have to create a server in youre servoy instance where you are doing the import. (name that server: kb\_mysql )

Then you can import fine.

---

<div class="post-metadata">

**Author:** ![a.mariottini](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@a.mariottini](https://forum.servoy.com/u/a.mariottini)\
**Post date:** [September 20, 2004, 1:33pm UTC](https://forum.servoy.com/t/cannot-import-solution/2718/4 "2004-09-20T13:33:53Z")

</div>

ok.  
kb\_mysql is the server I used for some testing.  
Now I have a new server accessing a sybase db.

Another question: the sybase db is on a file not present on the  
new PC where I’m importing. By now I have created it using Sybase cantral. Is this right or can the import procedure create it automatically?

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [September 20, 2004, 1:46pm UTC](https://forum.servoy.com/t/cannot-import-solution/2718/5 "2004-09-20T13:46:03Z")

</div>

A database (a server) can never be created.  
You first have to create the database (mysql or sybase or whatever).  
Then make a server connection to that database (servoy preferences)  
then import youre solution.
