Solution has disappeared!??

I was working with two instances of Servoy open: one for testing things and the other for development.
I closed the development solution because I wanted to save a backup of it.
When I opened repository to save it as a file: it wasn’t there anymore!!
and I can’t find anywhere.
Tryed to see in the other instance running (maybe some strange thing about the two running concurrently). Did a find on the hard disk (maybe, for some esotheric reason it “had” been saved).
Any clue, somebody?

I’m using Servoy R2 2.1 build 310, Java 1.4.2-38(Mac OSX) on Mac OSX 10.3.5

PS: luckily I had a backup of the previous release :wink:

You must be connecting to another repository, it is impossible solutions disappear.

same problem here. except I can’t restore mine (I did have a backup but it doesn’t seem to have made any difference)

waiting on support

OK… sweat slowly disappearing.

I have found my solution data. I had to start the old sybase db manually though and access it through an sql tool. But the data is there.

I think what happend to me is:

I had servoy 2.1 running. I then downloaded 2.1.1 beta and installed it in another folder. I quit 2.1, but sybase must not have shut down because when I started beta, my old solutions were available for opening.

Then when I restarted my machine (something I do only every 3 months or so - hence I havn’t noticed sybase not shutting down) sybase would have been stopped. Then when I opened beta this morning, its own version of sybase would have started and of course not have found my old solutions sitting in my old sybase db.

Then when I shut down beta, sybase wouldn’t have shut down and when I went back to open 2.1 it would have tried to open 2.1.1 beta’s repository which is too new a version for 2.1 and couldn’t open it.

What a long winded explanation… only way to explain it though. The key thing here is why isn’t sybase shutting down on my machine when I exit developer?

Is this a bug?

And I’m still not sure how to get my old database across to 2.1.1 beta. I’m going to try to copy the old database folder.

Regards
Willie

That’s not a bug.

Sybase (or whichever database) has to be running ofcourse to serve Servoy. The database will remain running until you shut it down.

Having that said, when Servoy finds a running repository it will ALLWAYS use that database!

Here’s your solution: stop Sybase (windows: stop the service or right click on the sybase icon on the bottom-right of your screen, mac: open your activity application and stop dbsrv9). Now you make a backup of all the stuff you have, just to be sure you can roll back completely. The next thing you can do is either move your databases from one folder to the other if their names are the same (don’t rename, that won’t work) or you can start the ‘old’ Servoy, export your solution, shutdown Servoy and Sybase again, start your new Servoy and import your solution.

That should do the trick.

When you really want to use 2 different repositories at a time, well that is very well possible but involves more work. I have a little tutorial for that already but haven’t posted it to Servoy Magazine yet. When you want to I can post it but please let me know.