FirebirdSql.Data.FirebirdClient.dll throws exception with x64 embedded drivers
-------------------------------------------------------------------------------
Key: DNET-946
URL: http://tracker.firebirdsql.org/browse/DNET-946
Project: .NET Data provider
Issue Type: Bug
Affects Versions: 4.6.2.0
Environment: Windows 10 ,Microsoft visual studio , C#
Reporter: Asmita
Assignee: Jiri Cincura
We are in process of converting project referencing
FirebirdSql.Data.FirebirdClient.dll to Anycpu configuration and updating
drivers to x64 version.
It is throwing exceptions
Test Name: AddColumnTest
Test FullName:
Agilent.OpenLab.DbAbstraction.Tests.AlterTableTests.AddColumnTest
Test Source: \Tests\AlterTableTests.cs : line 45
Test Outcome: Failed
Test Duration: 0:00:00.162
Result StackTrace:
at FB_965910463_Class.isc_create_database(IntPtr[] statusVector, Int16
dbNameLength, Byte[] dbName, Int32& dbHandle, Int16 parmBufferLength, Byte[]
parmBuffer, Int16 dbType)
at FB_965910463_Class.IFbClient.isc_create_database(IntPtr[] statusVector,
Int16 dbNameLength, Byte[] dbName, Int32& dbHandle, Int16 parmBufferLength,
Byte[] parmBuffer, Int16 dbType)
at
FirebirdSql.Data.Client.Native.FesDatabase.CreateDatabase(DatabaseParameterBuffer
dpb, String dataSource, Int32 port, String database)
at
FirebirdSql.Data.FirebirdClient.FbConnectionInternal.CreateDatabase(DatabaseParameterBuffer
dpb)
at FirebirdSql.Data.FirebirdClient.FbConnection.CreateDatabase(String
connectionString, Int32 pageSize, Boolean forcedWrites, Boolean overwrite)
at
Agilent.OpenLab.DbAbstraction.Firebird.FirebirdDatabaseDeployer.CreateDatabase()
in
C:\_Projects\OLSS\SharedServices\Server\DbAbstraction\Firebird\FirebirdDatabaseDeployer.cs:line
29
at Agilent.OpenLab.DbAbstraction.Tests.AlterTableTests.SetUp() in
C:\_Projects\OLSS\SharedServices\Server\DbAbstraction\Tests\AlterTableTests.cs:line
39
Result Message: System.BadImageFormatException : An attempt was made to load a
program with an incorrect format. (Exception from HRESULT: 0x8007000B)
Check list
Make sure Project configuration is Anycpu ; Done
Make sure Drivers referred are 64 bit : Done
Check Processor architecture of FirebirdSql.Data.FirebirdClient.dll is Anycpu
i.e MSIL : Done
but it is not able to understand x64 drivers and failing to load it .
It is referring : Firebird driver version 2.5.4
Does it need x64 version of FirebirdSql.Data.FirebirdClient.dll? What could be
wrong ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider