You have an outdated System.Data.SQLite.dll. The current version doesn't
have a namespace called Finisar. Try the assembly included in the Castle
SharedLibs folder instead.

-Markus

2009/6/17 breezback <[email protected]>

>
> Hi,
>
> I changed my code from using NH 1.2 with ActiveRecord so I can now use
> Linq + ActiveRecord + NH 2.1.
> Looks great!
>
> - Creating schema was successful
> - Inserting objects failed on this errror when hitting the item.Save
> ()
> Unable to cast object of type 'Finisar.SQLite.SQLiteConnection' to
> type 'System.Data.Common.DbConnection'
>
> I'm using SQLite 3 , I have SQLite3.dll, references to SQLite.NET and
> System.Data.SQLite.dll with copy local= true.
>
> I can't seem to understand the source of the problem. Anyone tried
> ActiveRecord.Linq with SQLite?
> With which version?
>
> Thanks,
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to