I’m not sure what causes your error, but note that in Servoy 4.0 you can create new sybase databases without the “ianywhere_utils”-solution. Just rightclick a database under the “Database Servers”-node in the solution explorer and click “Create Sybase Database”.
yes, i’m sure.
When i clicked on the OK Button (to create the database) i watched the database folder. The test.db file is created and after a few seconds it is deleted, then the error message pops up.
I am having problems with this too.
Creating the Sybase database went fine, also adding
tables works like a charm IF…you do not restart Developer.
After a restart the database can no longer be opened: databaseicon with red cross.
Ron:
like a charm IF…you do not restart Developer.
This is probably a different problem. Check the “sybase.config” file in the “application_server/sybase_db”-folder of your servoy installation. Make sure that there is a line like “database/<db_name>.db” for your new database, so that it is started automatically.
You’re right this is another problem, at first I thought the
database creation was fake.
The sybase config file is always updated perfectly.
Restarting Developer (only) gives the described access-error.
Rebooting the XP box AND restarting Developer however solves the problem. Is this expected behavior?.
Now I have your attention Joas, can you have a look at this post plse:
You also have to restart Sybase engine after creating the database from Servoy 4.0 option. So both developer and database engine have to be restarted.
About: SQL exception: com.sybase.jdbc3.jdbc.SybSQLException: SQL Anywhere Error -82; Unable to start specfied database - We had this error when sybase script directory is not in system path variable. It cannot find the scripts to create the database.
About: SQL exception: com.sybase.jdbc3.jdbc.SybSQLException: SQL Anywhere Error -82; Unable to start specfied database - We had this error when sybase script directory is not in system path variable. It cannot find the scripts to create the database.
THANKS Laurian!
That was the problem! The script directory wasn’t in the system path variable. I’ve added it, restarted Servoy4 and the Sybase Database was created without any problems!
I’m wondering why this feature works on other machines without adding the script folder to the path variable…