Subject Re: Crash corrupted database file
Author Felix
Hi All,
More information. I've been stepping through the code and my application does seem to be able to connect to the file and carry out some actions. When I get to the point of executing a particular query I get the error. The query is a complicated machine generated one with 6 selects so I won't bother posting it here. Suffice to say that this query works fine with other databases from the application.

I guess what I need to know is what does the FireBird error actually mean?

Below is the data from the exception. The exception has a number of error codes associated.

Thanks for your help.
Felix

+ [FirebirdSql.Data.FirebirdClient.FbException] {"I/O error for file ReadFile \"E:\\DROPBOX\\CAPTURE STUDIO\\1.7\\CORRUPT TEST\\CORRUPT TEST\\CHEESECAKE\\CHEESECAKE.ONTOLOGY2GO\"\r\nError while trying to read from file"} FirebirdSql.Data.FirebirdClient.FbException
+ Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
HelpLink null string
- InnerException {"Exception of type 'FirebirdSql.Data.Common.IscException' was thrown."} System.Exception {FirebirdSql.Data.Common.IscException}
- [FirebirdSql.Data.Common.IscException] {"Exception of type 'FirebirdSql.Data.Common.IscException' was thrown."} FirebirdSql.Data.Common.IscException
+ base {"Exception of type 'FirebirdSql.Data.Common.IscException' was thrown."} System.Exception {FirebirdSql.Data.Common.IscException}
ErrorCode 335544344 int
- Errors Count = 6 System.Collections.Generic.List<FirebirdSql.Data.Common.IscError>
- [0] {FirebirdSql.Data.Common.IscError} FirebirdSql.Data.Common.IscError
ErrorCode 335544344 int
IsArgument false bool
IsWarning false bool
Message null string
StrParam "" string
Type 1 int
+ Non-Public members
- [1] {FirebirdSql.Data.Common.IscError} FirebirdSql.Data.Common.IscError
ErrorCode 0 int
IsArgument true bool
IsWarning false bool
Message null string
StrParam "ReadFile" string
Type 2 int
+ Non-Public members
- [2] {FirebirdSql.Data.Common.IscError} FirebirdSql.Data.Common.IscError
ErrorCode 0 int
IsArgument true bool
IsWarning false bool
Message null string
StrParam "E:\\DROPBOX\\CAPTURE STUDIO\\1.7\\CORRUPT TEST\\CORRUPT TEST\\CHEESECAKE\\CHEESECAKE.ONTOLOGY2GO" string
Type 2 int
+ Non-Public members
- [3] {FirebirdSql.Data.Common.IscError} FirebirdSql.Data.Common.IscError
ErrorCode 335544736 int
IsArgument false bool
IsWarning false bool
Message null string
StrParam "" string
Type 1 int
+ Non-Public members
- [4] {FirebirdSql.Data.Common.IscError} FirebirdSql.Data.Common.IscError
ErrorCode 38 int
IsArgument false bool
IsWarning false bool
Message null string
StrParam "" string
Type 17 int
+ Non-Public members
- [5] {FirebirdSql.Data.Common.IscError} FirebirdSql.Data.Common.IscError
ErrorCode 335544344 int
IsArgument false bool
IsWarning false bool
Message "I/O error for file ReadFile \"E:\\DROPBOX\\CAPTURE STUDIO\\1.7\\CORRUPT TEST\\CORRUPT TEST\\CHEESECAKE\\CHEESECAKE.ONTOLOGY2GO\"\r\nError while trying to read from file" string
StrParam "" string
Type 0 int
+ Non-Public members