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

  • Home
  • SEARCH
  • 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 8668423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:12:37+00:00 2026-06-12T18:12:37+00:00

I’m trying to use a SQLite database in a MonoMac program (with the intent

  • 0

I’m trying to use a SQLite database in a MonoMac program (with the intent of reusing the database in a MonoTouch app).

I’ve tried two different ORMs, and both fail with the same issue. Searching around online, I discovered the MONO_LOG_LEVEL=debug flag, and a lot of information, but I can’t quite get it working.

Currently, I’m referencing Mono.Data.SQLite, but from what I’ve found, it seems that that is just a wrapper for a system-specific version.

Here’s the error output:

Mono: The request to load the assembly System.Data v2.0.0.0 was remapped to v4.0.0.0
Mono: Assembly Loader probing location: ‘/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Data/4.0.0.0_b77a5c561934e089/System.Data.dll’.
Mono: Image addref System.Data[0x62ada0] -> /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Data/4.0.0.0
_b77a5c561934e089/System.Data.dll[0xbd5600]: 2
Mono: Assembly System.Data[0x62ada0] added to domain SQLTest.exe, ref_count=1
Mono: AOT failed to load AOT module /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Data/4.0.0.0_b77a5c561934e089/System.Data.dll.dylib: dlopen(/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Data/4.0.0.0_b77a5c561934e089/System.Data.dll.dylib, 9): image not found

Mono: Assembly Loader loaded assembly from location: ‘/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Data/4.0.0.0_b77a5c561934e089/System.Data.dll’.
Mono: Config attempting to parse: ‘/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Data/4.0.0.0
_b77a5c561934e089/System.Data.dll.config’.
Mono: Config attempting to parse: ‘/Library/Frameworks/Mono.framework/Versions/2.10.9/etc/mono/assemblies/System.Data/System.Data.config’.
Mono: Assembly Ref addref Catnap[0x6213c0] -> System.Data[0x62ada0]: 2
Mono: Assembly Ref addref System.Data[0x62ada0] -> mscorlib[0x1001d90]: 6
Mono: Assembly Loader probing location: ‘/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/System.Data.SQLite.dll’.
Mono: Assembly Loader probing location: ‘/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/System.Data.SQLite.exe’.

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly ‘System.Data.SQLite’ or one of its dependencies. The system cannot find the file specified.
File name: ‘System.Data.SQLite’
at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00000] in :0
at System.AppDomain.Load (System.String assemblyString) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in :0
at Catnap.Database.BaseDbAdapter.ResolveConnectionType (System.String connectionTypeAssemblyName) [0x00000] in :0
at Catnap.Database.Sqlite.BaseSqliteAdapter..ctor (System.String connectionTypeAssemblyName) [0x00000] in :0
at Catnap.Database.Sqlite.SqliteAdapter..ctor () [0x00000] in :0
at Catnap.DbAdapter.get_Sqlite () [0x00000] in :0
at YAData.Connection.Connect () [0x00000] in :0
at SQLTest.MainClass.Main (System.String[] args) [0x00000] in :0

I’ve tried adding a config file with

<configuration>
   <dllmap dll="sqlite3" target="/usr/local/lib/libsqlite3.0.dylib" os="!windows"/>
</configuration>

to the application, and I’ve tried modifying /Library/Frameworks/Mono.framework/Versions/2.10.9/etc/mono/config, but nothing has worked. It’s still looking in the wrong places and not finding SQLite.

Help please?

  • 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-12T18:12:39+00:00Added an answer on June 12, 2026 at 6:12 pm

    I still don’t know why it was looking for System.Data.SQLite, but I recompiled one of the ORMs myself rather than using the provided dll, and it worked. I’m sure some of the problem was that I was using the MonoTouch dll in a MonoMac project. Recompiling CoolStorage (which uses Mono.Data.Sqlite instead of System.Data.SQLite) resolved it.

    If anyone can give me an explanation, I’ll switch accepted answers.

    On with the code!

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

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I've tracked down a weird MySQL problem to the two different ways I was
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I am trying to render a haml file in a javascript response like so:
I want use html5's new tag to play a wav file (currently only supported

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.