I couldn't find NHibernate jet drivers to use with .net 4.0. Latest drives that I came accross on the web from below link. Richard posted NHibernate jet drivers 2.0.0.1001 compiled in .net 3.5 on his blog. This jet drivers works with only NHibernate version v.2.1.0.4000. http://coderead.wordpress.com/2010/10/20/nhibernate-jet-driver/ I downloaded NHibernate v.2.1.0.4000 and used jet drivers from above link. Project is recompiled okay. However, I'm getting an error at below line and error says can't open readonly file mydb.mdb. I checed the file properties and it's not read-only file. In my software I should be able to open different mdf files. After updating dlls, it is always pointing to mydb.mdb. this._nhibernateFactory = this._nhibernateConfiguration.BuildSessionFactory(); <property name="connection.connection_string"> Provider=Microsoft.Jet.OLEDB.4.0;Data Source=.\mydb.mdb</property> Jet driver: http://coderead.wordpress.com/2010/10/20/nhibernate-jet-driver/ NHibernate dll - 2.1.0.4000 NHibernate.ByteCode.Castle dll 2.1.0.4000 Iesi.Collections dll 2.1.0.4000 looks like Castle.DynamicProxy2 dll, Castle.DynamicProxy dll or Castle.Core dll are not using by hibernate version 2.x. Castle.DynamicProxy dll was used by NHibernate 1.x. Castle.DynamicProxy2 dll 2.1.0.0 Castle.DynamicProxy dll 1.1.5.0 Castle.Core dll 2.5.0. Please suggest, if I missing anything. Your help is greatly appreciated.
-- You received this message because you are subscribed to the Google Groups "nhusers" group. To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/PPVFWMf24EAJ. 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/nhusers?hl=en.
