Subject | Intermittent CreateFile failure |
---|---|
Author | Richard Wesley |
Post date | 2009-06-10T15:32:40Z |
Hey all -
We have been seeing an intermittent problem with embedded Firebird
2.1.1 trying to open a local read-only database under Windows XP. The
database has been opened read-only by multiple processes and
periodically we get the following in our logs:
--- FB Error
---------------------------------------------------------------
File: db\FirebirdProtocol.cpp, Line: 2381
Status: 335544373
operating system directive CreateFile failed
-The system cannot find the file specified.
----------------------------------------------------------------------------
The line referenced is just calling isc_attach_database. Usually the
call succeeds and the file is definitely there.
The strange thing is that the Windows logging for the CreateFile call
shows two calls, one failing and then one succeeding, but Firebird
seems to not notice the second success!
Does anyone know what might cause this?
Best regards,
________________________________________________________
Richard Wesley Senior Software Developer Tableau
Software
Visit: http://www.trytableau.com/now.html
We have been seeing an intermittent problem with embedded Firebird
2.1.1 trying to open a local read-only database under Windows XP. The
database has been opened read-only by multiple processes and
periodically we get the following in our logs:
--- FB Error
---------------------------------------------------------------
File: db\FirebirdProtocol.cpp, Line: 2381
Status: 335544373
operating system directive CreateFile failed
-The system cannot find the file specified.
----------------------------------------------------------------------------
The line referenced is just calling isc_attach_database. Usually the
call succeeds and the file is definitely there.
The strange thing is that the Windows logging for the CreateFile call
shows two calls, one failing and then one succeeding, but Firebird
seems to not notice the second success!
Does anyone know what might cause this?
Best regards,
________________________________________________________
Richard Wesley Senior Software Developer Tableau
Software
Visit: http://www.trytableau.com/now.html