私は実行しようとしていますServiceStackプロジェクト例。私は、Webクライアントを実行すると、私は次のようなエラーになっています:SystemStadの実行中にSystem.BadImageFormatExceptionが発生しました。
{System.BadImageFormatException: An attempt was made to load a program with an
incorrect format. (Exception from HRESULT: 0x8007000B)
at Mono.Data.Sqlite.UnsafeNativeMethods.sqlite3_open_v2(Byte[] utf8Filename,
IntPtr& db, Int32 flags, IntPtr vfs)
at Mono.Data.Sqlite.SQLite3.Open(String strFilename, SQLiteOpenFlagsEnum
flags, Int32 maxPoolSize, Boolean usePool)
at Mono.Data.Sqlite.SqliteConnection.Open()
at ServiceStack.OrmLite.OrmLiteConnection.Open()
at ServiceStack.OrmLite.OrmLiteConnectionFactory.OpenDbConnection()
at ServiceStack.Examples.ServiceInterface.Support.ConfigureDatabase
.Init(IDbConnectionFactory connectionFactory)
in E:\ServiceStack.Examples\src\ServiceStack.Examples\
ServiceStack.Examples.ServiceInterface\Support\ConfigureDatabase.cs:line 23}
を私は、最新のSystem.Data.SQLite.dllファイルをダウンロードし、それを使用しようとしましたが、まだ同じエラーを取得していています。私は64ビットVS2010をWindows 7の64ビットボックスで実行しています。
私は**、**のx86 **それでも同じエラーを取得**任意のCPUを試してみました。 – TheVillageIdiot