Subject | Re: Firebird embedded server with PowerBuilder |
---|---|
Author | ione1608 |
Post date | 2006-04-06T09:17:29Z |
--- In firebird-support@yahoogroups.com, "Adam" <s3057043@...> wrote:
It didn't had anything to do with the number of connections. I
solved it. I forgot to put the directories UDF and INT to the
installation.
>wrote:
> --- In firebird-support@yahoogroups.com, "ione1608" <aiwa1608@>
> >works
> > Hi,
> >
> > has anyone got the embedded server of FireBird working with an
> > PowerBuilder application?
> > I created an application using the SuperServer via ODBC. This
> > perfectly.application.
> > Now another party wants to have a demo-version of this
> > So I tought it would be easier to do this with the embeddedserver,
> > so there is less to install for this person. When he wants tohave
> > the full version of the app, I will go by and will do thedirectory
> > (SuperServer)installation for him.
> >
> > I've put the dll's from the embedded package in the same
> > of the application. I renamed it to fbclient.dll. Then I createdan
> > ODBC-profile in which I specify the database and the client-dllto
> > use. When I hit 'Test connection' it's succesful. But when I runmy
> > app, it seems that the connection is going ok (because when Itry to
> > hit the 'Test connection' in the ODBC-dialog it gives me themessage
> > that the database is locked and ther is only one connectionand
> > possible).
> >
> > But when I run a query from within my app, I get a system error
> > the app is closed.following 'message
> >
> > In PowerBuilder itself I can connect to the database, but when I
> > want to see the tables in the database I get the
> > arithmetic exception, numeric overflow, or string truncation....'application
> >
> > Can anybody help me on this?
>
> I assume PowerBuilder is an IDE. If so, connections made by
> PowerBuilder at design-time count as connections. Only one
> can connect to the embedded server at a time. It ismanually
> first-in-best-dressed, PowerBuilder got in first. You will need to
> have the connected property set to false at designtime, and
> connect at runtime.Hi,
>
> Adam
>
It didn't had anything to do with the number of connections. I
solved it. I forgot to put the directories UDF and INT to the
installation.