[fpc-pascal] SqlDB fails under Windows to create a new Firebird database

waldo kitty wkitty42 at windstream.net
Wed Oct 30 16:36:07 CET 2013


On 10/30/2013 8:13 AM, Graeme Geldenhuys wrote:
> Here is the console output of when I run the program.
>
> -----------------------
> c:\programming\m2_system\Scripts>makedb -d
> '127.0.0.1:c:\programming\data\m2_dl_3019.fdb'
> Creating database... '127.0.0.1:c:\programming\data\m2_dl_3019.fdb'
> exception at 00431BD8:
>   : CreateDB :
>   -I/O error during "open" operation for file ""
>   -database or file exists.
> -----------------------
>
> I'm using FPC 2.6.2 32-bit on Windows 2000. Any clues what is wrong? And why
> does this code work on Linux and FreeBSD. Also, even though the error mentions
> the fact that the "database or file exits", that is definitely NOT true. There
> is no existing *.fdb file.

what happens if you leave the drive designation (c:) out?

-- 
NOTE: No off-list assistance is given without prior approval.
       Please keep mailing list traffic on the list unless
       private contact is specifically requested and granted.



More information about the fpc-pascal mailing list