Subject | Re: [ib-support] Re: win98 connections |
---|---|
Author | Woody |
Post date | 2001-09-30T19:26:48Z |
> This is the dilemma. I realise I'm stating the obvious, in that whenon
> distributing an application one has to cater for all scenarios, not only
> installation but in the future. If computer name works in all cases I'llor
> certainly go with that, but what happens when (a) there is no hosts file
> (b) the computer has no name, which i think can be the case in a simpleI've never seen a Windows computer without a name. I'm not sure you can
> stand-alone setup.
leave it blank but I've never tried it. The only way to guarantee success is
to use the IP address instead of the server name. You can either use a
routine to read the IP address or do what I do, save it in the program's ini
file for reference when the program starts. Personally, I prefer to make
recommendations to clients to follow certain "rules" when setting up
computers and networks because of the confusion that can occur, but that's
just me. I find it easier to troubleshoot when I know that at least some
rules are followed always.
> It's just that I had a case earlier this month when a client who had justunable
> changed to my localhost version (since shelved) reported that he was
> to connect even after making the entry in the hosts file. I suggested thatversion
> he re-boot, after which the problem disappeared. I was not on site, so it
> may have been something else. I'm afraid I don't know which Windows
> was involved.This could have been related to something else mucking up the OS. Some rogue
programs tend to confuse Windows enough for things like this to happen but
don't take it for granted that is what happened. As I said, I never tried
changing the IP address of an existing server in the Hosts file and then
trying to access it without rebooting.