# Servoy 4.0 Server

**URL:** <https://forum.servoy.com/t/servoy-4-0-server/9424>\
**Category:** Classic Servoy\
**Created:** [August 7, 2008, 6:11pm UTC](https://forum.servoy.com/t/servoy-4-0-server/9424 "2008-08-07T18:11:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario002](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mario002](https://forum.servoy.com/u/mario002)\
**Post date:** [August 7, 2008, 6:11pm UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/1 "2008-08-07T18:11:10Z")

</div>

We had servoy 3.5 running and we downloaded 4.0, it said the repository needed to be upgraded. We tried to update the database and it said database could not be updated. We tried going back to 3.5 and it says Invalid object name servoy\_user\_properties.

We are using WIN 2003 Server  
Ms SQL 2005

Any help would be nice.

---

<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:** [August 19, 2008, 8:10am UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/2 "2008-08-19T08:10:36Z")

</div>

The quickest way to fix your problem is set your backup back.  
Or start a new repository and import your solutions.

We did fix a problem in 4.0 that was mostly visible on MS SQL when upgrading the repository.

---

<div class="post-metadata">

**Author:** ![Kahuna](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@Kahuna](https://forum.servoy.com/u/Kahuna)\
**Post date:** [August 19, 2008, 8:15am UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/3 "2008-08-19T08:15:34Z")

</div>

> jcompagner:  
> The quickest way to fix your problem is set your backup back.  
> Or start a new repository and import your solutions.
> 
> We did fix a problem in 4.0 that was mostly visible on MS SQL when upgrading the repository.

I’m having similar problems with 4.0 and MS SQL ([viewtopic.php?f=11&t=11023](http://forum.servoy.com/viewtopic.php?f=11&t=11023)). When was this fix implemented?

I cant import any solutions at all with MS SQL because of problems with the repository.

---

<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:** [August 19, 2008, 8:42am UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/4 "2008-08-19T08:42:32Z")

</div>

we will release 4.0.1 soon.

What you now can do is create an empty database in ms sql and let servoy create there an empty new repository  
then import your solutions/modules through the admin pages.

---

<div class="post-metadata">

**Author:** ![Kahuna](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@Kahuna](https://forum.servoy.com/u/Kahuna)\
**Post date:** [August 20, 2008, 8:28am UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/5 "2008-08-20T08:28:32Z")

</div>

> jcompagner:  
> we will release 4.0.1 soon.
> 
> What you now can do is create an empty database in ms sql and let servoy create there an empty new repository  
> then import your solutions/modules through the admin pages.

Johan - unfortunately, regardless of what I do I cant get a repository in MSSQL - attempting to load solutions through Admin pages throws an error that there is no repository available. Changing to a different database is not an option unfortunately as we need to prove the tools using our current server and data structures.

Looks like our Servoy review is on hold again!

Any ETA on 4.0.1?

---

<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:** [August 20, 2008, 9:38am UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/6 "2008-08-20T09:38:48Z")

</div>

that is weird  
if you just have an empty ms sql database in your repository database connection  
then when you start eclipse and for example touch the repository database wont you then get an dialog that you can create a new repository tables?

And if you do that can you then check in a new sample solution into the repository (share the solution project)

that should work fine.

---

<div class="post-metadata">

**Author:** ![Kahuna](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@Kahuna](https://forum.servoy.com/u/Kahuna)\
**Post date:** [August 20, 2008, 10:00am UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/7 "2008-08-20T10:00:40Z")

</div>

> jcompagner:  
> that is weird  
> if you just have an empty ms sql database in your repository database connection  
> then when you start eclipse and for example touch the repository database wont you then get an dialog that you can create a new repository tables?
> 
> And if you do that can you then check in a new sample solution into the repository (share the solution project)
> 
> that should work fine.

No Johan (as per the link (viewtopic.php?f=11&t=11023) I cant get Servoy to accept a new repository server.

I have a solution I have been starting to build but I cant get a repository no matter what? I have a repository\_server in my servers tree and there are a number of Views showing in there but it simply errors when I try to either synch it (and Ivostinar suggest I don’t need to do that anyway) or but even in admin pages it complains that I don’t have a repository?

In Admins Page selection Solutions I get the message ‘Could not load solution list: No repository was found’ though in the admins page the repository server is correctly defined?

Looking at the repository server in SQL Server Manager there are no tables in it - so there is obviously nothing being created there when the server is defined? Just for completeness here’s what I have done:

1 Created a new database in SQL Server  
2. Stopped and restarted SQL Server  
3. Opened Developer - Created connection to repository server - no errors.  
4. Closed and restarted Developer  
5. Opened Admin Page - selected Solutions - ‘Could not load solution list: No repository was found’

What else might I do to generate the repository data Johan?

I think I must be doing something wrong Johan but for the life of me I think I’ve tried every combination of settings to get this repository available?

---

<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:** [August 20, 2008, 11:10am UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/8 "2008-08-20T11:10:55Z")

</div>

no going to the admin pages will not trigger a create of the repository in an empty database in de developer

That should be done in the developer you should get a message there if you want to create/upgrade a repository

what you could try is close the developer and start the application server with -upgradeRepository  
so the application server will generate the repository

---

<div class="post-metadata">

**Author:** ![Kahuna](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@Kahuna](https://forum.servoy.com/u/Kahuna)\
**Post date:** [August 20, 2008, 11:13am UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/9 "2008-08-20T11:13:43Z")

</div>

> jcompagner:  
> no going to the admin pages will not trigger a create of the repository in an empty database in de developer
> 
> That should be done in the developer you should get a message there if you want to create/upgrade a repository
> 
> what you could try is close the developer and start the application server with -upgradeRepository  
> so the application server will generate the repository

i just tried with a new repository and of course got the ‘Upgrade…’ question about creating tables etc - to which I selected ‘All’ At this point - as usual the entire developer hangs!

How do I start the app server with that switch Johan?

---

<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:** [August 20, 2008, 11:57am UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/10 "2008-08-20T11:57:40Z")

</div>

see the application server directory  
where we have a servoy\_server.bat file

Do start with a clean empty database. dont try to upgrade one or to upgrade an already tried to upgrade one.

---

<div class="post-metadata">

**Author:** ![Kahuna](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@Kahuna](https://forum.servoy.com/u/Kahuna)\
**Post date:** [August 20, 2008, 1:52pm UTC](https://forum.servoy.com/t/servoy-4-0-server/9424/11 "2008-08-20T13:52:56Z")

</div>

> jcompagner:  
> see the application server directory  
> where we have a servoy\_server.bat file
> 
> Do start with a clean empty database. dont try to upgrade one or to upgrade an already tried to upgrade one.

Ha - Looks like I have a repository. Thanks Johan!
