Subject Re: [IBO] Classic and IBOBackupService
Author Helen Borrie
At 02:40 PM 2/06/2006, you wrote:
>Hi Helen
>
>Sorry I am not understanding. I am aware Classic doesn't support
>localhost,

No, that's quite untrue. Classic doesn't support "Windows local"
connections, a.k.a. IPServer, or cpLocal, in IBO terminology.

>thats why I specified cpTCP_Ip.

Correct, you should.

>I also thought I had specified a server thats why I have
>
> Protocol := cpTCP_IP;

Correct

> ServerName := IBODatabase.Server;

Check what you have in that property. It should be *either* localhost or IOTA.

>Where IBODatabase.Server is IOTA (the name of my computer). I have
>tried changing this to LocalHost but no success :-(
>
>Sorry If I'm being a bit dense here but what parameter should I be
>setting to localHost?

localhost is a Server name. It is in fact the TCP/IP local loopback server.

So it should be the Server property of your IB_Connection object
(probably a IBODatabase in your case). However, also check whether
your system actually knows the IP address of localhost. It needs to
be in your %windir%\system32\drivers\etc\hosts file. Likewise, IOTA,
if you are using that instead. But you'll have to have IOTA set up
too, in that case.

127.0.0.1 localhost
111.111.111.111 IOTA

btw, this is basic stuff and not IBO related. If you don't have my
book and you don't have the Firebird Quick Start Guide, at least
download and study the latter.

Helen