Hello,

I am getting the following error when trying to connect :

Unhandled Exception: System.ArgumentException: An invalid connection string argu ment has been supplied or a required connection string argument has not been sup
plied.
   at FirebirdSql.Data.Firebird.FbConnectionString.Validate()
at FirebirdSql.Data.Firebird.FbConnection.set_ConnectionString(String value)
   at FirebirdSql.Data.Firebird.FbConnection..ctor(String connectionString)
   at FirebirdSql.Data.Firebird.FbConnection.System.ICloneable.Clone()
   at IBatisNet.Common.DbProvider.CreateConnection()
   at IBatisNet.DataMapper.SqlMapSession.CreateConnection()
at IBatisNet.DataMapper.SqlMapper.QueryForObject(String statementName, Object

connection string:
database>    
<provider   name="Firebird1.7" />       
<dataSource name="Firebird1.7"
        connectionString=
        "User=dan;
        Password=dan;
        Database=c:\data\firebird\test1.fdb;
        DataSource=localhost;                   
        Dialect=3;
        Pooling=false
        Charset=NONE;
        Port=3050;" />

</database>

provider.config:
<provider
        name="Firebird1.7"
        description="Firebird, Firebird SQL .NET provider V1.7.0.33200"
        enabled="true"
assemblyName="FirebirdSql.Data.Firebird, Version=1.7.0, Culture=neutral, PublicKeyToken=fa843d180294369d"
        connectionClass="FirebirdSql.Data.Firebird.FbConnection"
        commandClass="FirebirdSql.Data.Firebird.FbCommand"
        parameterClass="FirebirdSql.Data.Firebird.FbParameter"
        parameterDbTypeClass="FirebirdSql.Data.Firebird.FbDbType"
        parameterDbTypeProperty="FbDbType"
        dataAdapterClass="FirebirdSql.Data.Firebird.FbDataAdapter"
        commandBuilderClass="FirebirdSql.Data.Firebird.FbCommandBuilder"
        usePositionalParameters="false"
        useParameterPrefixInSql="true"
        useParameterPrefixInParameter="true"
        parameterPrefix="@"
        allowMARS="false"
/>

Notice that I changed the assemblyName information so that he would recognize the matching driver from V1.7.0.33200 to V1.7.0. I didn't have any choice about this the only .NET driver from Firebird is 1.7.1 - but it gives the same error.

I have noticed that I am not the first with this error - However - I have not been able to find a fix in the archives. The answer doesn't seem to be in trying different combinations of above info - I can read these databases fine with the normal .net provider from firebird (in the same program).

Any help would be appreciated.

Thank you. Dan Carlton


Reply via email to