Subject | Re: [IBO] Classic and IBOBackupService |
---|---|
Author | Robert martin |
Post date | 2006-06-05T23:15:59Z |
>> Sorry If I'm being a bit dense here but what parameter should I beHi Helen
>> 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
>
>
Sorry about the delayed response , on Friday me emails were taking about
3hrs to send or receive and we have had a long weekend so I am only now
seeing your replies.
I believe I have found some (or all of the issues here). Bearing in
mind that the system originally worked fine with FB SS.
I had Server and protocol set correctly and I did understand all the
stuff you were saying but because I had it right anyway I was somewhat
confused.
I needed to put double quotes " around both backup and database names
(they had spaces in them). This doesn't seem to be a requirement for
SS. I also changed from GetNextChunk to GetNextLine. This works fine
now, however I need to test in SS.
The next issue however is that a screen that ran a script to create a
new empty database no longer works. it uses an IB_Script component and
under FB classic comes up with 'Invalid CREATE, CONNECT or DROP DATABASE
syntax'. This is the same script that works ok under FB SS!
Help !
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd