Ticket Change Details
Not logged in

Artifact ID: 4b24a115eb708f84540f55cdb05f4e6d0388313e
Ticket: bf7f825cea7d6edb65d49c5c67d16d12540288d9
Attempt to load program with incorrect format
User & Date: anonymous 2019-01-21 14:52:31

  1. Change foundin to ""
  2. Change icomment to:
    I have VB.Net 2008 express installed on win7. I have downloaded the binaries for 32 bit and sqlite.interop.dll. I add a reference for the but I get an error indicating wrong format for the interop. I placed the interop in the \bin folder and tried this. It did not work. The error is
    2019-01-21 09:38:10Z - db create error 
    An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
       at System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op)
       at System.Data.SQLite.SQLite3.StaticIsInitialized() in c:\dev\sqlite\dotnet\System.Data.SQLite\SQLite3.cs:line 3977
       at System.Data.SQLite.SQLiteLog.Initialize(String className) in c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteLog.cs:line 186
       at System.Data.SQLite.SQLiteConnection..ctor(String connectionString, Boolean parseViaFramework) in c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteConnection.cs:line 1795
       at System.Data.SQLite.SQLiteConnection..ctor(String connectionString) in c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteConnection.cs:line 1710
       at System.Data.SQLite.SQLiteConnection..ctor() in c:\dev\sqlite\dotnet\System.Data.SQLite\SQLiteConnection.cs:line 1700
       at Rural_Home_Soft_v1.SQLAccess.DBCreate() in C:\Users\User\Documents\Visual Studio 2008\Projects\RuralHomeSoftv3.0\SQLAccess.vb:line 290
    I tried with X86 and ANY CPU. Same result. 
    I have the same code working on an XP box with only version and no interop file. Can anyone assist me please?
  3. Change login to "anonymous"
  4. Change mimetype to "text/x-fossil-plain"
  5. Change private_contact to "026ac13621a455aa6c603d38289d5ce286faba25"
  6. Change severity to "Important"
  7. Change status to "Open"
  8. Change title to "Attempt to load program with incorrect format"
  9. Change type to "Incident"