Subject | Overwrite existing dtabase file when creating database |
---|---|
Author | georgeyod |
Post date | 2007-01-13T14:54:01Z |
I'm using windows xp,visual studio 2005, embeded version 1.5.3 and
receive the following error when trying to create a new database file
using overwrite set to TRUE to overwrite a previously created database
file.
here is my code:
FbConnection.CreateDatabase(DBConnectionBuilder.ConnectionString, True)
This is the error message:
I/O error for CreateFile(create) "<filename>"
Error while trying to create file
It creates a new database file without any problems if the file doesnt
exist.
any help or suggestions would be greatly appreciated.
receive the following error when trying to create a new database file
using overwrite set to TRUE to overwrite a previously created database
file.
here is my code:
FbConnection.CreateDatabase(DBConnectionBuilder.ConnectionString, True)
This is the error message:
I/O error for CreateFile(create) "<filename>"
Error while trying to create file
It creates a new database file without any problems if the file doesnt
exist.
any help or suggestions would be greatly appreciated.