What causes this error?
jda
jda at his.com
Sat Feb 19 06:35:25 CST 2011
> Hi Jon,
>
> OS X
> REALbasic
>
> When exactly this error happens?
> on db.open? Else?
>
>
>> What does this error/message mean?
>>
>> Database Engine Error: 365826
>> Database Engine Error: File does not exist.
>>
>> I have a user who reports it, and thinks it's a permission error. Is
>> that right? What will cause this exception to be thrown? Is it only
>> permissions? If so, I will change the wording to something more
>> helpful, like "You need read/write permission to use this file" or
>> something like that. If the exception is thrown for other reasons,
>> too, of course I can't do that.
>
> I do not think that its permissions.
>
> You can have RO file, and engine will open it in RO mode then ..
>
Hi Ruslan,
Yes, RB (RS now, I guess) and Snow Leopard. He's trying to open the database.
It's on open, but I don't know if it's on db.open (I can't reproduce it on my machine, so I can't figure it out in the debugger). My app can also write to the database on open (to update things). What causes the "File does not exist" error, then?
Jon
More information about the Valentina
mailing list