Hi,

i think the Problem is IPv6.
I use Visual Studio 2005 prof. and have the same problem.

You can see the prob. in the sample

<example code>

IPAddress[] hostadd = Dns.GetHostEntry("localhost").AddressList;
foreach (IPAddress ip in hostadd)
      MessageBox.Show(ip.ToString());

</example code>

At first you see the IPv6 Adress and the second one is the needed IPv4.
I have deinstall the IPv6 and it runs fine.


Mit freundlichen Grüssen
André Pietzner

PC-Systeme Kaupisch & Partner GbR
Geschwister-Scholl-Straße 6a
03238 Finsterwalde
Tel: 03531 6095-0 Fax: 03531 609555
Handy: 0173-2908797
e-mail: [EMAIL PROTECTED]


""Ashley Marques"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 
news:[EMAIL PROTECTED]
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0006_01C6322A.DB926EE0
> Content-Type: text/plain;
> charset="US-ASCII"
> Content-Transfer-Encoding: 7bit
>
> 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
> 



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to