Solved my problem:
I saw in an forum that someone had the same problem with network
connections, and had discovered that it was a bug in the new method of the
Dns class from the Framework
So I´ve downloaded the source code of the Firebird .Net provider and
searched for the dns class, and guess, there it was.
Again, this is a bug from the framework that for some unknow reason can´t
resolve the ip address
So, I´ve changed an line in GdsConnection.cs and compiled:
In "FirebirdSQL.Data.Client.Gds.GdsConnection" method "GetIpAddress"
private IPAddress GetIPAddress(string dataSource, AddressFamily
addressFamily)
{
try
{
// IPAddress[] addresses = Dns.GetHostEntry(dataSource).AddressList;
// >>> Changed the line above to use another method of the Dns class
// >>> the method "GetHostByName" is obsolete, but it worked for me
IPAddress[] addresses = Dns.GetHostByName(dataSource).AddressList;
...
Thanks for all
""Jiri Cincura"" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> On 1/16/08, Adilson Garcia <[EMAIL PROTECTED]> wrote:
>> Does the provider use some other port to connect that I should configure
>> in
>> my firewall?
>
> No, if you specify 7001, the port 7001 will be used (check i.e. nestat
> results).
>
> --
> Jiri {x2} Cincura (Microsoft Student Partner)
> http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Firebird-net-provider mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider