Hi Francesco,
Here's another description of the problem:
Unfortunately the use-case of running 32bit dlls under IIS is a configuration issue which can be problematic at times and you need to tweak a few things to run properly:
Basically you should ensure that the Host project (i.e. the
ASP.NET application project) of the solution you're running is set to compile to x86, see the attached screen shot.
I also have Win7 x86 and am able to run it in this way (with the App Domain set to enable 32 bits).
- You should run
VS.NET in admin mode (i.e. Run as Administrator if not already)
- You may want to try running in its a new AppDomain on its own if you have problems.
Otherwise as a final resort you can change the project references to include a 64bit build of Sqlite available from here:
In which case you will need to replace the dll references 'Mono.Data.Sqlite' and 'ServiceStack.OrmLite.Sqlite' with 'ServiceStack.OrmLite.SqliteNET.dll' and 'System.Data.SQLite.dll'
Note: these 64bit dlls no longer uses sqlite3.dll and only runs on Windows (i.e. not Linux/Mono) and it uses the embedded 'System.Data.SQLite.dll' instead:
Let me know if it helps.
Cheers,
Demis
--
- Demis