Subject | I/O error when connect to embedded db for the 1st time |
---|---|
Author | Sean |
Post date | 2007-01-09T16:08:43Z |
Hi, I meet this problem occasionally while I have no clue why this is
happening and it bothers me:
Copy a new firebird DB and start the application to connect to the DB
in embedded embedded mode, sometimes it gives an error of "i/o error".
If I run the application again, it works fine since then. Seems
something was rectified after 1st failure.
Not sure if it is caused by the way I created the database. Here are
the steps:
1. generate SQL from my development DB.
2. Run SQL to generate an empty database
3. Open the empty database in IBExpert in superserver mode, run
another sql to create some pre-defined records, the close the DB
connection.
Unfortunately I cannot duplicate the problem. For one same database it
may have problem on one computer, but works fine on another one...
Does anyone have a clue?
Best,
Sean
happening and it bothers me:
Copy a new firebird DB and start the application to connect to the DB
in embedded embedded mode, sometimes it gives an error of "i/o error".
If I run the application again, it works fine since then. Seems
something was rectified after 1st failure.
Not sure if it is caused by the way I created the database. Here are
the steps:
1. generate SQL from my development DB.
2. Run SQL to generate an empty database
3. Open the empty database in IBExpert in superserver mode, run
another sql to create some pre-defined records, the close the DB
connection.
Unfortunately I cannot duplicate the problem. For one same database it
may have problem on one computer, but works fine on another one...
Does anyone have a clue?
Best,
Sean