Subject RE: [IBO] Read-Only Database
Author Jason Wharton
This looks like something in your code rather than something in my code.
I'm still puzzled over this.

Jason


> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
> Behalf Of Daniel Pohren
> Sent: Tuesday, November 08, 2005 3:18 AM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] Read-Only Database
>
>
> Good morning. You mean the Delphi CallStack? When I run the software
> (debugging it in Delphi) it returns me almost nothing, because the
> connection routine is in the FormCreate Event, being the
> first thing to be
> done by the application... Here is how I connect to the tIBODatabase.
> Components -
> BancoDados: tIBODatabase
> Transacao - tIBOTransaction
> Result of the function GetCaminhoDoPath -
> 192.168.7.100:c:\dados\MICROFISCHER\SISTEMA\bin\DADOS_READONLY.DFDB
> BancoDados.Close;
> BancoDados.DatabaseName := GetCaminhoDoIni(ExtractFilePath(
> Application.ExeName) + 'DADOS.DFDB');
> BancoDados.SysDBA := 'SYSDBA';
> BancoDados.Password := 'masterkey';
> try
> BancoDados.Open;
> except
> BancoDados.ReadOnly := true;
> Transacao.ReadOnly := true;
> BancoDados.Open;
> end;
> The reason why I think I'm forgetting to set some property of the
> tIBODatabase is that even when I'm not running the software,
> when I'm in
> design time, and try to chancge the connected property I
> recieve the same
> error...
> Thanks in advance
> On 11/7/05, Jason Wharton <jwharton@...> wrote:
> >
> > I'm convinced there is something that needs to be resolved.
> The callstack
> > on this would still be very helpful.
> >
> > Jason Wharton
> >
> >
> > > -----Original Message-----
> > > From: IBObjects@yahoogroups.com
> [mailto:IBObjects@yahoogroups.com]On
> > > Behalf Of Daniel Pohren
> > > Sent: Monday, November 07, 2005 9:16 AM
> > > To: IBObjects@yahoogroups.com
> > > Subject: Re: [IBO] Read-Only Database
> > >
> > >
> > > This error ocurs even INSIDE delphi...
> > > If I select the tIBOConnection component, clic in the
> > > "connected" property
> > > and change it to True ig gives me this exception...
> > >
> > > On 11/7/05, Jason Wharton <jwharton@...> wrote:
> > > >
> > > > > How can I connet in a read-only database (FB 1.5) using IBO?
> > > > > It returns me an "attempting to update a read_only database"
> > > > > error when I try to connect using the IBODatabase
> > > >
> > > > What is the callstack on that exception?
> > > >
> > > > This will tell us what is actually attempting an update.
> > > >
> > > > Jason Wharton
> >
> >
> >
> >
> >
> ______________________________________________________________
> _____________
> > 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 !
> >
> >
> > ------------------------------
> > 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@ya
> hoogroups.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]
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Most low income households are not online. Help bridge the
> digital divide today!
> http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/PhFolB/TM
> --------------------------------------------------------------
> ------~->
>
> ______________________________________________________________
> _____________
> 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
> !
> Yahoo! Groups Links
>
>
>
>
>
>
>