Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8741765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:22:28+00:00 2026-06-13T11:22:28+00:00

I’ve done some research on this problem and have seen a handful of possible

  • 0

I’ve done some research on this problem and have seen a handful of possible solutions, but nothing that has worked for me.

Could not load file or assembly ‘System.Data.SQLite.dll’ or one of its
dependencies. The specified module could not be found.

I have a WPF application that uses SQLite. On my development machine (Windows 7, 64-bit, Visual Studio 2010), everything works just fine. Over in the QA department, everything works fine. But on the build machine (Windows Server 2008, 64-bit) and over in customer service (32-bit), it gives the error.

My .sln consists of 3 projects – two .exe and one lib (used by both .exe projects and containing the SQLite logic). All 3 have 2 configurations, Debug and Release, and each version compiles to x86. The SQLite dll is in the execution directory.

I have 3 System.Data.SQLite entries in my GAC, which has been verified as why I’m having success on my computer but not certain others, not that I know why it wouldn’t be using the dlls found in the executing directory. All GAC entries are version 1.0.66.0, have the same public key token, and are associated with MSIL, x86, and AMD64, respectively. Removing the files from the GAC allowed me to reproduce the error until I changed the project references to “copy local,” at which time it again worked on my computer (and still not on the others).

Not sure how smart this was, but I decided to attempt a dynamic load of the dll (while still using references in my projects), checking whether I was running in a 32-bit or 64-bit environment, and using Assembly.LoadFrom to load the SQLite dll for the correct bits. That code executes successfully and goes for the 32-bit version on my 64-bit machine, which I assume is because of the x86 compile platform. Regardless, it hasn’t changed the error I see on the other machines.

Suggestions as to how to resolve this issue?

edited: reflect results after removing references from the GAC

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:22:29+00:00Added an answer on June 13, 2026 at 11:22 am

    I had the same problem in the past. I build to versions: one referencing System.Data.SQLite x32 and the other x64.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a French site that I want to parse, but am running into
This could be a duplicate question, but I have no idea what search terms
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I've got a string that has curly quotes in it. I'd like to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.