Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#460 closed defect (done)

System.Data.SQLite.dll cannot be loaded on the blade servers

Reported by: swagner Owned by: gkronber
Priority: high Milestone: HeuristicLab 3.3.0
Component: ZZZ OBSOLETE: SQLite Version: 3.2
Keywords: Cc:

Description

When trying to load System.Data.SQLite.dll on the blade servers, a BadImageFormatException is thrown.

Change History (13)

comment:1 Changed 11 years ago by gkronber

The most likely reason for this is that the SQLite assembly is 32bit only so it can't be loaded in a 64bit environment.

comment:2 follow-up: Changed 11 years ago by swagner

Any ideas how we can fix this? Is there a 64bit version of System.Data.SQLite somewhere? Perhaps we can use the native DLLs and some other ADO.NET provider instead of the combined mixed mode assembly? Some open sources solution would be nice ...

comment:3 in reply to: ↑ 2 Changed 11 years ago by gkronber

Replying to swagner:

Any ideas how we can fix this?

We just need to deploy the correct version of the assembly.

Is there a 64bit version of System.Data.SQLite somewhere?

Yes both versions are included in the project.

Perhaps we can use the native DLLs and some other ADO.NET provider instead of the combined mixed mode assembly? Some open sources solution would be nice ...

I think using the native DLL would be even more problematic regarding 32bit vs. 64bit environment and also versioning. System.Data.SQLite is open source.

comment:4 Changed 11 years ago by swagner

I see, thanks. Ok, then I will tweak the build scripts a bit, so that the correct version is deployed depending on the current configuration.

comment:5 Changed 11 years ago by swagner

  • Owner changed from gkronber to swagner

comment:6 Changed 11 years ago by swagner

  • Milestone changed from 3.2 to Iteration 0

Milestone 3.2 deleted

comment:7 Changed 10 years ago by gkronber

  • Owner changed from swagner to gkronber
  • Status changed from new to assigned

comment:8 follow-up: Changed 10 years ago by gkronber

  • Resolution set to fixed
  • Status changed from assigned to closed

Added conditional deployment of external SQLite assembly in CopyAssemblies.cmd script with r1403.

comment:9 in reply to: ↑ 8 Changed 10 years ago by gkronber

Replying to gkronber:

Added conditional deployment of external SQLite assembly in CopyAssemblies.cmd script with r1403.

Solution copied from mkommenda (see Heureka! trac r552).

comment:10 Changed 10 years ago by gkronber

  • Resolution fixed deleted
  • Status changed from closed to reopened

xcopy doesn't work.

comment:11 Changed 10 years ago by gkronber

  • Resolution set to fixed
  • Status changed from reopened to closed

Using plain old copy instead with r1464.

comment:12 Changed 9 years ago by swagner

  • Milestone changed from Iteration 2 to Current

Milestone Iteration 2 deleted

comment:12 Changed 9 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.