Re: [Firebird-net-provider] Connection problem from Win 2003 Standard

2007-08-21 Thread Jiri Cincura
On 8/21/07, Dean Harding [EMAIL PROTECTED] wrote:
 Here is the output for two different addresses:

 D:\Projects\TestProject\bin\Debugtest 10.0.0.33
 Testing: 10.0.0.33
 Hostname: xx
 Address: fe80::69eb:837:6a0:5c66%8
 Address: fe80::5efe:10.0.0.33%11
 Address: 10.0.0.33

 D:\Projects\TestProject\bin\Debugtest 123.123.123.123
 Testing: 123.123.123.123
 Hostname: 123.123.123.123
 Address: 123.123.123.123

 The first address is my local IP address. Notice how it returned the IPv6
 addresses *before* the IPv4 (this is Windows Vista). The second address is
 one that does not exist on my network. Not visible here, of course, is the
 fact that this address took about 6 seconds to resolve whereas the first
 one was practically instant.

But you said, that you not get result at all, which isn't true. The
resolving issue is from provider's POV irelevant. Because you're (in
99% cases) connecting to existing server (I hope). :)

BTW when you try ping the IPv6 address does it works? I hope yes. Else
it will be weird that you get IPv6 address and your system isn't able
to find the route to it.

 Your network may be different, but clearly not all networks are the same as
 yours.

 Remember, all I'm trying to say here is that you should replace the line:

 IPAddress addr = Dns.GetHostEntry(hostname).AddressList[0];

 With the following:

 IPAddress addr;
 if (!IPAddress.Parse(hostname, out addr))
 {
   addr = Dns.GetHostEntry(hostname).AddressList[0];
 }

 It's not a big change and it's only useful in certain circumstances, but it
 *is* a better solution.

I don't have problem with this change. Create a ticket in tracker and
it can be changed.

 Dean.




 -
 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



-- 
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-
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


Re: [Firebird-net-provider] Connection problem from Win 2003 Standard

2007-08-20 Thread Jiri Cincura
On 8/20/07, Dean Harding [EMAIL PROTECTED] wrote:
  I have 2 NICs in my notebook too. I don't have this problem. And the
  Dns.GetHostEntry() returns (should) for IP the same IP, that's all.

 Actually, that's not true. Dns.GetHostEntry() actually queries the DNS
 server to get the name corresponding to that IP, and then returns all the IP
 addresses associated with that name. It is quite possible that it can return
 addresses in a different or unexpected order.

If you provide IP, there's no hostname.

-- 
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-
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


Re: [Firebird-net-provider] Connection problem from Win 2003 Standard

2007-08-20 Thread Dean Harding
 Yep, but internally. Then you get back your IP (the IP you provided)
 and maybe some others. But this isn't the problem. He has 2 NICs on
 client not on server (if I understand).

But that has not been my experience: I have seen it return a *different* IP.
Also, if you do not have reverse DNS set up for that IP, then you won't get
any results at all. For example, here is a MySQL bug related to
Dns.GetHostEntry: http://bugs.mysql.com/bug.php?id=26593

I'm not saying this is the problem in this particular case, but I have run
into trouble just using Dns.GetHostEntry on an IP address... :-)

Dean.



-
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


Re: [Firebird-net-provider] Connection problem from Win 2003 Standard

2007-08-20 Thread Jiri Cincura
On 8/20/07, Dean Harding [EMAIL PROTECTED] wrote:
 But that has not been my experience: I have seen it return a *different* IP.
 Also, if you do not have reverse DNS set up for that IP, then you won't get
 any results at all. For example, here is a MySQL bug related to

I've tested this. I provided IP, that definetelly isn't active in my
netwrok and isn't on my DNS. I got result without problems. I can send
you video. :)

 Dns.GetHostEntry: http://bugs.mysql.com/bug.php?id=26593

 I'm not saying this is the problem in this particular case, but I have run
 into trouble just using Dns.GetHostEntry on an IP address... :-)

 Dean.



 -
 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



-- 
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-
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


Re: [Firebird-net-provider] Connection problem from Win 2003 Standard (SOLUTION)

2007-08-20 Thread Cosmin Sandu
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


Re: [Firebird-net-provider] Connection problem from Win 2003 Standard

2007-08-20 Thread Dean Harding
 I've tested this. I provided IP, that definetelly isn't active in my
 netwrok and isn't on my DNS. I got result without problems. I can send
 you video. :)

Alright. Here is a program that I ran on my computer:

public static void Main(string[] args)
{
string address = args[0];
Console.WriteLine(Testing: {0}, address);

IPHostEntry hostent = Dns.GetHostEntry(address);
Console.WriteLine(Hostname: {0}, hostent.HostName);
foreach(string alias in hostent.Aliases)
{
Console.WriteLine(Alias: {0}, alias);
}
foreach(IPAddress addr in hostent.AddressList)
{
Console.WriteLine(Address: {0}, addr);
}
}

Here is the output for two different addresses:

D:\Projects\TestProject\bin\Debugtest 10.0.0.33
Testing: 10.0.0.33
Hostname: xx
Address: fe80::69eb:837:6a0:5c66%8
Address: fe80::5efe:10.0.0.33%11
Address: 10.0.0.33

D:\Projects\TestProject\bin\Debugtest 123.123.123.123
Testing: 123.123.123.123
Hostname: 123.123.123.123
Address: 123.123.123.123

The first address is my local IP address. Notice how it returned the IPv6
addresses *before* the IPv4 (this is Windows Vista). The second address is
one that does not exist on my network. Not visible here, of course, is the
fact that this address took about 6 seconds to resolve whereas the first
one was practically instant.

Your network may be different, but clearly not all networks are the same as
yours.

Remember, all I'm trying to say here is that you should replace the line:

IPAddress addr = Dns.GetHostEntry(hostname).AddressList[0];

With the following:

IPAddress addr;
if (!IPAddress.Parse(hostname, out addr))
{
  addr = Dns.GetHostEntry(hostname).AddressList[0];
}

It's not a big change and it's only useful in certain circumstances, but it
*is* a better solution.

Dean.




-
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


Re: [Firebird-net-provider] Connection problem from Win 2003 Standard

2007-08-19 Thread Dean Harding
 I have 2 NICs in my notebook too. I don't have this problem. And the
 Dns.GetHostEntry() returns (should) for IP the same IP, that's all.

Actually, that's not true. Dns.GetHostEntry() actually queries the DNS
server to get the name corresponding to that IP, and then returns all the IP
addresses associated with that name. It is quite possible that it can return
addresses in a different or unexpected order.

Dean.



-
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


Re: [Firebird-net-provider] Connection problem from Win 2003 Standard Ed using .NET provider for Firebird

2007-08-16 Thread Jiri Cincura
You have probably firewall on.

-- 
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-
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


Re: [Firebird-net-provider] Connection problem from Win 2003

2007-08-16 Thread Cosmin Sandu
There is no firewall on.

There are a bunch of applications written in Delphi 7 which connect directly 
with the interbase server on port 3050.
The only problem I have is with applications which connects using FBProvider 
and only from the respective machine.
All the services are started, the firewall is off... I've tried everything I 
can think about.

I forgot to mentioned another particular thing about the Windows 2003 
machine. It has 2 network adapters (one connects to the LAN the other to a 
NAS storage).
I've tried even to set to disable the network adapter to the NAS. No change. 
No connection...


Jiri Cincura [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 You have probably firewall on.

 -- 
 Jiri {x2} Cincura (Microsoft Student Partner)
 http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

 -
 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


Re: [Firebird-net-provider] Connection problem from Win 2003

2007-08-16 Thread Carlos Guzmán Álvarez
Hello:

 I forgot to mentioned another particular thing about the Windows 2003 
 machine. It has 2 network adapters (one connects to the LAN the other to a 
 NAS storage).
 I've tried even to set to disable the network adapter to the NAS. No change. 
 No connection...

It maybe a network problem ,have you tried to connection using a simple 
C# console program usina  socket to connect to that server ??





-- 
Carlos Guzmán Álvarez
Vigo-Spain

Blog: http://carlosga.wordpress.com/
FirebirdClient  : http://www.firebirdsql.org/
XMPP Client : http://code.google.com/p/xmppclient/
ohloh   : http://www.ohloh.net/accounts/4138

-
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


Re: [Firebird-net-provider] Connection problem from Win 2003

2007-08-16 Thread Jiri Cincura
On 8/16/07, Cosmin Sandu [EMAIL PROTECTED] wrote:
 There is no firewall on.

 There are a bunch of applications written in Delphi 7 which connect directly
 with the interbase server on port 3050.
 The only problem I have is with applications which connects using FBProvider
 and only from the respective machine.
 All the services are started, the firewall is off... I've tried everything I
 can think about.

 I forgot to mentioned another particular thing about the Windows 2003
 machine. It has 2 network adapters (one connects to the LAN the other to a
 NAS storage).
 I've tried even to set to disable the network adapter to the NAS. No change.
 No connection...



Are you able to connect from the client machine (where .NET app is) to
server using isql, telnet, whatever classic?
-- 
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-
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


Re: [Firebird-net-provider] Connection problem from Win 2003 Standard

2007-08-16 Thread Cosmin Sandu
The database server is a Linux machine. I wouldn't know how to develop a server 
(using sockets) that runs on Linux so I could test the connection using 
sockets, but I don't think that the problem comes from here, since there are 
some Delphi - Interbase apps on the same Windows 2003 machine that run and 
properly connect to the Interbase Server on Linux. The problem appears only 
with the 2 apps developed in C# that use the .NET Firebird provider class.

One more important thing to know is that prior to installing the Windows Server 
2003, on that exactly same machine was installed a Win 2000 Server, and both 
the C# applications worked fine on it. So there must be some settings that the 
server had before and now are missing with the fresh install of the 2003 Server.

After digging more in the error logs, I also found this error:
Unable to complete network request to host 192.168.100.55 (nn. that is the IP 
of the Linux machine).

Thank you for your prompt response.
  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


Re: [Firebird-net-provider] Connection problem from Win 2003 Standard

2007-08-16 Thread Jiri Cincura
What is CAS on C# application on server? It's full trust or some limited?

-- 
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-
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


Re: [Firebird-net-provider] Connection problem from Win 2003

2007-08-16 Thread Cosmin Sandu
It's a fresh installation, so there was nothing modified in the CAS 
Settings.

Should I give it a try with the DDEX Provider instead of FIBConnection?


Jiri Cincura [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 What is CAS on C# application on server? It's full trust or some limited?

 -- 
 Jiri {x2} Cincura (Microsoft Student Partner)
 http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

 -
 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


Re: [Firebird-net-provider] Connection problem from Win 2003

2007-08-16 Thread Ottmar Muckenfuss
try to use localhost before your database path on the connection string eg:
localhost:c:\my-db.fdb

2007/8/16, Cosmin Sandu [EMAIL PROTECTED]:
 There is no firewall on.

 There are a bunch of applications written in Delphi 7 which connect directly
 with the interbase server on port 3050.
 The only problem I have is with applications which connects using FBProvider
 and only from the respective machine.
 All the services are started, the firewall is off... I've tried everything I
 can think about.

 I forgot to mentioned another particular thing about the Windows 2003
 machine. It has 2 network adapters (one connects to the LAN the other to a
 NAS storage).
 I've tried even to set to disable the network adapter to the NAS. No change.
 No connection...


 Jiri Cincura [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  You have probably firewall on.
 
  --
  Jiri {x2} Cincura (Microsoft Student Partner)
  http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
 
  -
  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


-
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


Re: [Firebird-net-provider] Connection problem from Win 2003

2007-08-16 Thread Jiri Cincura
On 8/16/07, Ottmar Muckenfuss [EMAIL PROTECTED] wrote:
 try to use localhost before your database path on the connection string eg:
 localhost:c:\my-db.fdb

localhost? If DB server is linux and client server W2k3? I don't
think, this is the right way. ;)

-- 
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-
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


Re: [Firebird-net-provider] Connection problem from Win 2003

2007-08-16 Thread Cosmin Sandu
My connection string looks like this:

User=SYSDBA;Password=test;Database=/opt/interbase/test.gdb;DataSource=192.168.100.55;

 I also tried appending this to it, but with no luck:

Port=3050;Dialect=3;Charset=NONE;Role=;Connection 
lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet 
Size=8192;ServerType=0;


As I mentioned before, the application runs very well from another XP 
station in the same network and from another W2K3 station in a separate test 
network.



Jiri Cincura [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 On 8/16/07, Ottmar Muckenfuss [EMAIL PROTECTED] wrote:
 try to use localhost before your database path on the connection string 
 eg:
 localhost:c:\my-db.fdb

 localhost? If DB server is linux and client server W2k3? I don't
 think, this is the right way. ;)

 -- 
 Jiri {x2} Cincura (Microsoft Student Partner)
 http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

 -
 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


Re: [Firebird-net-provider] Connection problem from Win 2003

2007-08-16 Thread Carlos Guzmán Álvarez
Hello:

 The database server is a Linux machine. I wouldn't know how to develop a 
 server (using sockets) that runs on Linux so I could test the connection 
 using sockets, but I don't think that the problem comes from here, since 
 there are some *Delphi* - Interbase apps on the same Windows 2003 
 machine that run and properly *connect *to the Interbase Server on 
 Linux. The problem appears only with the 2 apps developed in C# that use 
 the ..NET Firebird provider class.

Pleazse, make that simple check, there is no the first time a user 
report that problem, it could be some problem with the dns resolution of 
.net





-- 
Carlos Guzmán Álvarez
Vigo-Spain

Blog: http://carlosga.wordpress.com/
FirebirdClient  : http://www.firebirdsql.org/
XMPP Client : http://code.google.com/p/xmppclient/
ohloh   : http://www.ohloh.net/accounts/4138

-
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


Re: [Firebird-net-provider] Connection problem from Win 2003

2007-08-16 Thread Eduardo
Hi

Just one idea.
I think it is a good idea to use aliases. to resolve the path, when you 
are working between diferent S.O.

Edit - aliases.conf
Add entry - MyDataBase = /opt/interbase/test.gdb

sConnectionString = 
@ServerType=0;DataSource=192.168.100.55;Port=3050;DataBase=MyDataBase 
...;


Cosmin Sandu [EMAIL PROTECTED] escribió en el mensaje 
news:[EMAIL PROTECTED]
 My connection string looks like this:

 User=SYSDBA;Password=test;Database=/opt/interbase/test.gdb;DataSource=192.168.100.55;

 I also tried appending this to it, but with no luck:

 Port=3050;Dialect=3;Charset=NONE;Role=;Connection
 lifetime=15;Pooling=true;MinPoolSize=0;MaxPoolSize=50;Packet
 Size=8192;ServerType=0;


 As I mentioned before, the application runs very well from another XP
 station in the same network and from another W2K3 station in a separate 
 test
 network.



 Jiri Cincura [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 On 8/16/07, Ottmar Muckenfuss [EMAIL PROTECTED] wrote:
 try to use localhost before your database path on the connection 
 string
 eg:
 localhost:c:\my-db.fdb

 localhost? If DB server is linux and client server W2k3? I don't
 think, this is the right way. ;)

 -- 
 Jiri {x2} Cincura (Microsoft Student Partner)
 http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

 -
 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
 



-
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