Subject Re: [IBO] Read-Only Database
Author Daniel Pohren
Exactly...
I've used gfix with this option, and have this problem...
In a readonly file, whithout gfix readonly option I get the error: (wich I
think is correct, it really shoud return this error)
"No permission for read-write access to the database"
In a readonly file (I need it that way, becaus it will run from a cd)
switching it to readonly usin gfix it returns the error:
"attempted update on read-only database"
when I try to connect using a tIBDatabase Component...
I really think this is NOT a bug in IBO, I'm trying to figure oou eich
properties I'm forgetting to set in the componen;...
Thanks!
In a file

On 11/10/05, Daniel Rail <daniel@...> wrote:
>
> Hi,
>
> At November 10, 2005, 3:38 AM, Lester Caine wrote:
>
> > That said - I think that there is supposed to be a mode that will allow
> > Firebird to work from a cd based database, but you need to set that up
> > first before trying to use it?
>
> By using gfix with the option "-mode read_only". This will tell
> Firebird that the database is in read-only mode, even if the file
> attribute is not.
>
> --
> Best regards,
> Daniel Rail
> Senior System Engineer
> ACCRA Group Inc. (www.accra.ca <http://www.accra.ca/>)
> ACCRA Med Software Inc. (www.filopto.com <http://www.filopto.com/>)
>
>
>
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
>
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
>
>
>
> SPONSORED LINKS
> Membership database software<http://groups.yahoo.com/gads?t=ms&k=Membership+database+software&w1=Membership+database+software&w2=Database+mortgage+software&w3=Pda+database+software&w4=Database+management+software&w5=Database+marketing+software&w6=Online+database+software&c=6&s=190&.sig=zumlzfMugtt6gdHbPv4SEw> Database
> mortgage software<http://groups.yahoo.com/gads?t=ms&k=Database+mortgage+software&w1=Membership+database+software&w2=Database+mortgage+software&w3=Pda+database+software&w4=Database+management+software&w5=Database+marketing+software&w6=Online+database+software&c=6&s=190&.sig=gjZta7wG6hZqdrJXzK2Teg> Pda
> database software<http://groups.yahoo.com/gads?t=ms&k=Pda+database+software&w1=Membership+database+software&w2=Database+mortgage+software&w3=Pda+database+software&w4=Database+management+software&w5=Database+marketing+software&w6=Online+database+software&c=6&s=190&.sig=3Hn54KU1wFHab_pC8mcmQw> Database
> management software<http://groups.yahoo.com/gads?t=ms&k=Database+management+software&w1=Membership+database+software&w2=Database+mortgage+software&w3=Pda+database+software&w4=Database+management+software&w5=Database+marketing+software&w6=Online+database+software&c=6&s=190&.sig=36Lz5dDq6L3dzupiJwAffg> Database
> marketing software<http://groups.yahoo.com/gads?t=ms&k=Database+marketing+software&w1=Membership+database+software&w2=Database+mortgage+software&w3=Pda+database+software&w4=Database+management+software&w5=Database+marketing+software&w6=Online+database+software&c=6&s=190&.sig=k5h2EoDyGba8G2MtsW5WSQ> Online
> database software<http://groups.yahoo.com/gads?t=ms&k=Online+database+software&w1=Membership+database+software&w2=Database+mortgage+software&w3=Pda+database+software&w4=Database+management+software&w5=Database+marketing+software&w6=Online+database+software&c=6&s=190&.sig=-puLLcDG0gUTIJTiT0fjEw>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group "IBObjects<http://groups.yahoo.com/group/IBObjects>"
> on the web.
> - To unsubscribe from this group, send an email to:
> IBObjects-unsubscribe@yahoogroups.com<IBObjects-unsubscribe@yahoogroups.com?subject=Unsubscribe>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>



--
Daniel Pohren
Naphta Informática


[Non-text portions of this message have been removed]