我正在尝试运行
ServiceStack个示例项目.当我运行Web客户端时,我收到以下错误:
{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文件并试图使用它,但我仍然遇到同样的错误.我在Windows 7 64位盒子上运行64位VS2010.