Subject Re: Attempting Recovery With Services API
Author inoffensive_2009
--- In firebird-support@yahoogroups.com, "inoffensive_2009"
<larryl_hoo@...> wrote:
>
> Hi Folks:

< Snip >

> Because this is an embedded application, I pass a NULL service to
> isc_service_attach() and the sbp buffer has the parameters for a
> partner user and a password.
>
> is "Service" the saem as "Server"? of am I missing soemthng.

Oops, typing without sleeping for a day.

The service passed to isc_service_attach is an empty string, not
NULL.

I took the time to write a piece of code that would parse the SPB
string. This is being passed a version of 2, a current version of 2.

The first SPB cluster is the user name, with a parameter of 28, and
the correct character count.

The second cluster in the SPB string is the password, with a
parameter type of 29. The count and string also look ok.

But this is an embedded server, why should any of this cause an
error?

I'm just trying to get a database recovery, looking at two
different methods to find the path of least resistance.

What am I doing that's making is this so hard?

As always, I appreciate your assistance.

Larry