SQLite problems in Windows XP and Vista 64 Bit Editions

8
A fellow student and me have problems opening projects in Mendix. It counts for both the example file provided by the Mendix Evaluation version as well as the trial file of Pizza Mario. This problems also occurs when creating new projects. The error is about SQLite. The exact error code is Could not load file or assembly 'System.Data.SQLite, Version=1.0.47.2, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. An attempt was made to load a program with an incorrect format. and it occurs on both Windows XP 64 and Vista 64 bit editions. One of us tried to replace the SQLite library by an 64 bit version bit it did not work out either.
asked
2 answers
12

This is a problem in the evaluation version of the Modeler. We will fix this as soon as possible. We apologize for the inconvenience.

If you are adventurous, there is a way to get your Modeler running on a 64-bit OS. You have to force it to run in 32-bit mode:

  1. Download the .NET SDK from this location.
  2. Install it on your computer.
  3. The file corflags.exe can be found at C:\Program Files (x86)\Microsoft.NET\SDK\v2.0\Bin\corflags.exe (or somewhere similar).
  4. Use corflags.exe in a command-line window to change Modeler.exe as follows: corflags /32BIT+ /Force Modeler.exe
  5. Start the Modeler !
answered
8

Thank, that fixed the error.

By the way, the full commands are:

cd "C:\Program Files\Microsoft.NET\SDK\v2.0 64bit\Bin"

CorFlags /32BIT+ /Force "C:\Program Files (x86)\Mendix\2.4.3.1 Evaluation\Modeler.exe"

Just copy&paste!

answered