here is a test case:

[Database server]
 - Install firebird 1.5.4 on an machine running windows 2000 or above
 - Edit file "C:\Windows\System32\Drivers\Etc\Services" and change the port 
to 7001 of "gds_db"
 - Open file "Aliases.conf" located on Firebird folder and add an alias for 
an existing database
 - start Firebird server as Service

[Client - tested on Windows XP]
 - Edit file "C:\Windows\System32\Drivers\Etc\Services" and change the port 
to 7001 of "gds_db"
 - using Visual Studio 2005 import to yout toolbox the Firebird .net Data 
Provider Version 1.7.1 for .NET 1.1
    - create a new WindowsForms solution and add to your form an button and 
an fbconnection
    - Set the connection string property for FBConnection: (don“t forget to 
cgange the server ip and database to your alias)
         
"User=SYSDBA;Password=masterkey;Database=yourdatabasealias;DataSource=192.168.0.1;Dialect=3;Charset=NONE;Role=;Connection
 
timeout=15;Pooling=True;Packet Size=8192;Server Type=0;Port Number=7001"
    - Put this line on button click:
            fbConnection1.Open();

    - Put an breakpoint in this line, run, and click on button, it will stop 
right on the Open method, press F10 to move to next line, it will connect to 
the database and move to the next line

    - Now delete the fbConnection form your form,
    - import to yout toolbox the Firebird .net Data Provider Version 
2.1..NET 2.0
    - put an fbconnection, set the connectionstring property to the same 
used last time and run
    - it will stop right on the Open method, press F10 to move to next line, 
it will raise an FbException with message "Unable to complete network 
request to host "192.168.0.1"."

Same code, only different provider's version


thanks


""Jiri Cincura"" <[EMAIL PROTECTED]> escreveu na mensagem 
news:[EMAIL PROTECTED]
> On 1/14/08, Adilson Garcia <[EMAIL PROTECTED]> wrote:
>> Yes, I am able!
>>
>> Even IBExpert connects
>
> Weird. Can you create some (general) test case? Or is this only on
> your machine (network)?
>
> Is this problem still there wheny ou use build from sources (or weekly)?
>
> -- 
> Jiri {x2} Cincura (Microsoft Student Partner)
> http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Firebird-net-provider mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
> 



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to