运行ServiceStack示例时出现System.BadImageFormatException。
我正在尝试运行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.ExamplessrcServiceStack.Examples
ServiceStack.Examples.ServiceInterfaceSupportConfigureDatabase.cs:line 23}
我已经下载了最新的System.Data.SQLite.dll文件并尝试使用它,但我仍然遇到同样的错误。我在Windows 7 64位盒子上运行64位VS2010。
没有找到相关结果
已邀请:
2 个回复
敦肌
吠强祷豪硅