SQLite problems in Windows XP and Vista 64 Bit Editions

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=, 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.
2 answers

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 !

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\ Evaluation\Modeler.exe"

Just copy&paste!