|
Hi, everybody, First of all, I’d
like to thank your time and knowledge spent in this great tool, Carlos. Well, I was
receiving the (so popular) error “UNABLE TO CONNECT TO HOST (‘HOSTNAME’)” using the porperty
window or not. I checked the
host name, server activitiy, database name, port, everything was ok. By the way,
using WinXP SP2, .NET 2.0, VBExpress 2005 and C#Express 2005. Since I couldn’t
solve this problem, I decided look at the source code and I found out where the
exception was raised, it’s in the GdsConnection.cs file, “Connect”
method, line : “IPAddress
hostadd = Dns.GetHostEntry(dataSource).AddressList[0];” The AddressList
array is not a Zero-based array, so I replaced to: “IPAddress hostadd = Dns.GetHostEntry(dataSource).AddressList[1];” I don’t
Know if this happens only in “SOME” or “ALL” VB/C#
Express Editions, even less MOMO. Now I can
connect and use Fibird, but only by code, I don’t Know what dependecies I
forget that I can’t connect throught property window So I would be
glad if somebody could release the installation package with these changes... Thanks |
- [Firebird-net-provider] Unable to connect to host ... Ashley Marques
- Re: [Firebird-net-provider] Unable to connect... Andre Pietzner
- Re: [Firebird-net-provider] Unable to con... Carlos Guzmán Álvarez
