in

System.Data.SQLite

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

Can't find PInvoke DLL 'SQLite.Interop.065.DLL - Bug?

Last post 05-28-2010 2:01 AM by Anu. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 02-09-2010 1:34 PM

    Can't find PInvoke DLL 'SQLite.Interop.065.DLL - Bug?

     Few days ago i can execute my program in a mobile device and emulator without any problem. But now i have the following error Can't find PInvoke DLL 'SQLite.Interop.065.DLL when i execute it in a mobile device but i can execute my program in an emulator (windows mobile 5 ppc r2 emulator) and i don't know why.

     http://i48.tinypic.com/25zhz6a.jpg         -          error in mobile device

    http://i48.tinypic.com/25tat8i.jpg             -           root folder in my mobile device

     http://i48.tinypic.com/vytt08.jpg             -         ppc emulator where my system works without any problem

     

    I manually  copied the two dll's of sqlite (system.data.sqlite and sqlite.interop.065.dll) to the root folder of the application in my mobile device (2nd screenshot). i also copy the dll's in the "\windows" and in "\" folder of my mobile device but still no luck. please help.

     

    Any suggestions?

  • 02-09-2010 9:38 PM In reply to

    • nonka
    • Not Ranked
    • Joined on 02-10-2010
    • Posts 1

    Re: Can't find PInvoke DLL 'SQLite.Interop.065.DLL - Bug?

    Have you tried adding the path of the app directory to the windows path?

  • 02-09-2010 10:10 PM In reply to

    Re: Can't find PInvoke DLL 'SQLite.Interop.065.DLL - Bug?

    yes? i also try adding it (the 2 dll's) to windows folder of my mobile device.

     

    I also try in visual studio "add existing item" open the 2 dll's then go to their properties and change the "copy to output folder" to "copy if newer" but still no luck.

     

    Any better idea that i miss to do please?

     

  • 02-10-2010 10:41 PM In reply to

    Re: Can't find PInvoke DLL 'SQLite.Interop.065.DLL - Bug?

     yesterday, i reprogram my project (i made a new one). I copy my entire project and paste it in a new one. Then, wow! it successfully executed in my mobile device(with the same code of my last project!?!?!). But now, when i execute again my project, Can't find PInvoke DLL 'SQLite.Interop.065.DLL error again occured. Why is this happening? When i execute my project in a device emulator it always works? Is this a bug in my mobile device?

     Do i need to always reprogram my project (copy and paste my last entire project) to be able to run in my mobile device?

  • 02-16-2010 10:01 AM In reply to

    Re: Can't find PInvoke DLL 'SQLite.Interop.065.DLL - Bug?

     http://sqlite.phxsoftware.com/forums/p/2217/8952.aspx#8952

  • 05-27-2010 11:33 PM In reply to

    • Anu
    • Not Ranked
    • Joined on 05-27-2010
    • Posts 2

    Missing method Exception ,Can't find PInvoke DLL 'SQLite.Interop.066.DLL - Bug?

     Hi,

    I am also getting the same error.I am using Visual Studio 2008 and C# .net Compact FrameWork 3.5 to develop application for Pocket PC(Friendly ARM) having WinCE 6.0 OS.

    I have added the System.Data.SQlite.Dll in add reference and manually copied the SQLIte.Interop.Dll to Application folder and even Windows folder.Still getting the same error.

    I tried the other method also ......Added 2 Dll files using Add existing item and set properties as Copy always to O/P Directory.               Still getting error.... 

    Please help me......

  • 05-28-2010 2:01 AM In reply to

    • Anu
    • Not Ranked
    • Joined on 05-27-2010
    • Posts 2

    Re: Missing method Exception ,Can't find PInvoke DLL 'SQLite.Interop.066.DLL

    Hey........ I got the solution.....I was using SQLite.Interop.066.DLL ......now i am using SQLite.Interop.065.DLL it is working fine......

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