I am using provider version 2.6.0.0. If use FbConnectionStringBuilder I am
getting this error always

 

An exception of type 'System.ArgumentException' occurred in System.Data.dll
but was not handled in user code

Additional information: Keyword not supported: 'port number'.

 

Here is my code 

 

Sub New()

        Dim cs As New FbConnectionStringBuilder

        cs.ConnectionString = My.Settings.ConnectionString

        _dataSource = cs.DataSource

        _userId = cs.UserID

        _password = cs.Password

        _database = cs.Database

        _port = cs.Port

        _pooling = cs.Pooling

        _connectionLifeTime = cs.ConnectionLifeTime

        _serverType = cs.ServerType

        _dialect = cs.Dialect

        _charset = cs.Charset

        _minPoolSize = cs.MinPoolSize

        _maxPoolSize = cs.MaxPoolSize

        _packetSize = cs.PacketSize

    End Sub

 

Any help in this regard is highly appreciated.

 

Thanks!

Muthu Annamalai

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to