First of all, thank you for all your responses. All the different ideas
conducted me to the solution.
I solved the problem by replacing Dns.GetHostEntry() in GdsConnection.cs,
function private IPAddress GetIPAddress(string dataSource, AddressFamily
addressFamily) with it's older brother, Dns.GetHostByName().
Although the compiler warns about this function as being obsolete, MSDN also
specifies this and recommends using the new GetHostEntry, it looks like it
behaves strangely in some situations.
So I'll just use this modified source of the Firebird Provider until Microsoft
solves this bug (that's what it looks like to me, though strangely enough, this
isn't listed in any MS forums or bug lists). Also, maybe Firebird net provider
developers should consider using the older function instead, until GetHostEntry
is reliable in any environment.
I wish you bugless developing !
""Cosmin Sandu"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Hello,
I have a connection problem from a Windows 2003 Standard Edition using
FibProvider from a C#2005 application to an Interbase Server.
The system I use is the following:
Application written in C#2005, .Net Framework 2.0, FibProvider 2.0, hosted on
a Windows 2003 Standard Edition.
The database server is an Interbase 6.0 Open Source hosted on a Linux server.
The application cannot connect to the database server from the Windows 2003
server but if i move the application to another station, an XP station, it
works perfectly.
The error that i receive is something like ... "cannot connect to the remote
server. The server actively refuse it".
I presume it has something to do with the Windows 2003 settings...
If you can help me, i would very much appreciate it...
Thank you
------------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider