THE ZEPINT NETWORK

programmer assist

Delphi Delphi XML Feeds

Delphi Questions Delphi Solutions Delphi Articles

A Rapid Application Development language from Borland International destination.

Database

DiggBlinkRedditDeliciousTechnorati

question by siun | Moderate

I am using Delphi 2005 and I have a database connection established with a Firebird database 'SIS.fdb' as

m_connection := TSQLConnection.Create(Nil);
m_connection.DriverName := 'INTERBASE';
m_connection.GetDriverFunc := 'getSQLDriverINTERBASE';
m_connection.LibraryName := 'dbexpint.dll';
m_connection.VendorLib := 'fbclient.dll';
m_connection.Params.Clear;
m_connection.Params.Add('Database= SIS.fdb');
m_connection.Params.Add('User_Name= sysdba');
m_connection.Params.Add('Password= masterkey');
m_connection.Params.Add('SQLDialect=3');
m_connection.Params.Add('BlobSize=-1');
m_connection.Params.Add('CommitRetain=False');
m_connection.Params.Add('WaitOnLocks=True');

At times ( not always) when I do several commits or do some other things lke getting data from a table I get the errors

dbExpress Error: [0x0015]: Connection failed Database Server Error: I/O error for file "SIS.fdb" Error while trying to open file as another process is already using the file OR

THe system cannot find the specified file 'SIS.fdb'



Can anyone pls help me out

Post reply Subscriptions

Got a Delphi Question?

Just Sign Up and ask the top Delphi experts!

Search via Google

User Login

Email Address

Password

Leading Experts

Rank Expert Points
#1 frankzzsword 4600
#2 Bejaan 2900
#3 csfreak 1100
#4 Anurag 700
#5 keyvez 700
#6 nnarasimha 600
#7 Nakata 600
#8 martinig 600
#9 mastercomputers 400
#10 Huntress 150
#11 Adkron 150
#12 Yogesh 100
#13 lexxwern 100
#14 Mustan Khan 100
#15 poizn 100
This is a list of overall best performing experts, how many points do you have?