in

System.Data.SQLite

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

FileNotFoundException when running the included test.exe

Last post 09-23-2005 11:41 AM by Robert Simpson. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 09-21-2005 11:59 AM

    FileNotFoundException when running the included test.exe

    Hi!

    I just started using your SQLite ADO.NET provider, and I think it's great you put that much work into it.

    My problem is, that when running the included test.exe, it throws a FileNotFoundException. Probably I didn't read the readme or something, that says that your supposed to do this and that before using the provider. But I haven't been able to find the answer - so can you give me a hint of where my problem might be?

    Regards,
    Patrick

  • 09-21-2005 12:26 PM In reply to

    Re: FileNotFoundException when running the included test.exe

    Can you give me a stack dump?  Without it I can't tell if its a framework issue, a provider issue, or an issue with the test.exe file.

    Robert

     

     

  • 09-21-2005 1:28 PM In reply to

    Re: FileNotFoundException when running the included test.exe

    This was what I could get from the debugger in Visual Studio... The error message is in danish, and roughly translated it means "The module could not be found".

    System.IO.FileNotFoundException {"Det angivne modul blev ikke fundet. (Exception from HRESULT: 0x8007007E)":null}
       at test.Program.Main(String[] args)
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  • 09-21-2005 3:21 PM In reply to

    Re: FileNotFoundException when running the included test.exe

    Rebuild test.exe in debug mode and run it from Visual Studio, and tell me what you get.  Are you using VS2005 Beta 2?  If you're using any release of VS after beta 2, then the program won't run properly -- ADO.NET has undergone several changes since beta 2, and I haven't released binaries compiled against more recent versions of VS yet.  The code changes are in CVS, however.

    Robert

     

  • 09-22-2005 5:14 AM In reply to

    Re: FileNotFoundException when running the included test.exe

    Oh, yeah. I just forgot, that I installed the release candidate. Sorry about that. I'll try building it from the cvs.
  • 09-22-2005 7:26 AM In reply to

    Re: FileNotFoundException when running the included test.exe

    There are some files from the System.Data.SQLite folder that are updated to reflect the latest ADO.NET changes, but the rest of CVS hasn't been updated to SQLite 3.2.6 yet.  I'll be checking all that in probably tomorrow.

    Robert

     

  • 09-22-2005 8:14 AM In reply to

    • shaufe
    • Top 500 Contributor
    • Joined on 09-22-2005
    • Posts 4

    Re: FileNotFoundException when running the included test.exe

    Hello,

    I receive the same failure after compiling with VS 2005 Team Suite RC. Updated Source of 1.18.1 with the changed files from cvs. If I check the binary (System.Data.SQLite.dll) with Reflector it shows "Unknow Basetype" errors.

     

  • 09-22-2005 9:37 AM In reply to

    Re: FileNotFoundException when running the included test.exe

    I have the RC, and will be posting 1.0.19 to CVS and making binary releases by tomorrow -- possibly even later today if I have time.

    Robert

     

  • 09-23-2005 11:41 AM In reply to

    Re: FileNotFoundException when running the included test.exe

    I have been tracking down this problem all morning and ended up having to file a bug report  on VS2005 for it.

    If you want to read it, its here.

    The filenotfound exception is the system trying to find MSVCR80.DLL version 8.0.50608.0, which is nowhere to be found because the .LIB's mismatch the latest version of the DLL which is 8.0.50727.26.  Furthermore, the header files are also referencing 8.0.50608.0, so the resulting side-by-side manifest is referencing a version of MSVCR80 that does not exist.

    All this means that I will not be able to publish the 1.0.19 version today as I had hoped.  Not even statically linking the CRT does any good.

    Robert

     

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