Yes I do mean 'System.Data.SQLite.dll' and I've checked for any duplicates.
I've also removed the original download and installation, downloaded again
and re-installed.

The reference is to :

C:\Program FIles\System.Data.SQLite\2010\bin\System.Data.SQLite.dll.

This little test is about as simple as you can get - there is only the one
'Import' - but at runtime the program is waiting for something - the
message only appears if I step into the first statement with the debugger.

The only thing I haven't checked is the contents of the GAC for the
possible stray that you mention. Can you tell me how to do this?

Thanks for the help.


On 20 February 2012 22:23, Joe Mistachkin <sql...@mistachkin.com> wrote:

>
> David Horne wrote:
> >
> > Thanks for the help. If you've any other ideas then please let me know.
> >
>
> I'm confused, do you actually mean the "System.Data.SQLite.dll" file
> (not sqlite.dll)?
>
> Judging from the error message, it seems you may have an extraneous
> install of System.Data.SQLite somewhere.  Alternatively, there may be
> a stray managed-only System.Data.SQLite assembly in the GAC that
> attempts to load the 32-bit interop DLL.
>
> The error message itself is described here:
>
> http://system.data.sqlite.org/index.html/doc/trunk/www/faq.wiki#q12
>
> However, I cannot easily explain it in this case because it appeared
> at first glance that you were using the DLL with the right processor
> architecture for your operating system.
>
> The only other explanation I can readily think of is that you are
> somehow setting a reference to the wrong System.Data.SQLite assembly
> in your project.
>
> --
> Joe Mistachkin
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to