in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Method 'Prepare' in System.Data.SQLite.SQLiteEnlistment does not have an implementation

Last post 05-13-2008 11:25 PM by Satellite. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-06-2008 11:26 PM

    Method 'Prepare' in System.Data.SQLite.SQLiteEnlistment does not have an implementation

    Hi,

     I was working at a hobby project of mine at work. Since it was at work I had to let it lie for a while but when I returned yesterday to do some more hacking I got the message on the image once I tried to connect to the database. The image is from when I press "Test connection" in the "Add new data source" dialogs.

     When I try to run the project I get this message:

    An unhandled exception of type 'System.MissingMethodException' occurred in System.Data.dlldditional information: Method not found: 'System.Transactions.Transaction System.Transactions.Transaction.get_Current()'.

    It doesn't matter if I start a new project in a new solution and try to add a new source.

    I've also uninstalled and reinstalled sqlite.net.

    What have I done to wreck my installation?

    I've googled and searched the forums but I couldn't find anything. If this has been explained before I apologize but wish you could point me in the direction of the answer.

    Regards 


  • 05-13-2008 11:25 PM In reply to

    Re: Method 'Prepare' in System.Data.SQLite.SQLiteEnlistment does not have an implementation

    Answer

     I solved it.

    For anyone that might encounter the same problem I'll say what I did to make it work.

    I think the problem rooted in my installing .NET 1.1

    I uninstalled 1.1 but it did not change anything.

    So I uninstalled both .net 2.0 and SQLite.

    Reinstalled .net 2.0 and SQLite and then it worked. 

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems