SQL Lite Interop Unable to Load error
See original GitHub issuehi
hitting an issue with SQLLite.Interop when running the grasshopper connector off the most recent commit. I’ve done some quick trouble shooting of rebuilding and refreshing my local fork but no success 😢
Below is the error message.
System.DllNotFoundException: Unable to load DLL ‘SQLite.Interop.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at System.Data.SQLite.UnsafeNativeMethods.sqlite3_open_interop(Byte[] utf8Filename, Byte[] vfsName, SQLiteOpenFlagsEnum flags, Int32 extFuncs, IntPtr& db) at System.Data.SQLite.SQLite3.Open(String strFilename, String vfsName, SQLiteConnectionFlags connectionFlags, SQLiteOpenFlagsEnum openFlags, Int32 maxPoolSize, Boolean usePool) at System.Data.SQLite.SQLiteConnection.Open()
I checked the bin folder for ConnectorGrasshoper and it shows that SQLite.Interop.dll is being built, but when I drop the Accounts node in gh that error is thrown.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)

Top Related StackOverflow Question
hey there!
this issue crops up now and again and I’m not entirely sure what the cause is tbh. however, have you tried manually deleting all the
binandobjfolders in core and the connector + converter (eg inCore,ConnectorGrasshopper, andConverterRhinoGh) and rebuilding from scratch? you can also go into yourAppData/Specklefolder and manually delete the object kits.this combo usually seams to clean it up for me, so give it a try and see if it helps!
@teocomi just getting back from the 🍯 🌔, so I apologize for the delay in getting back to the crew.
I wanted to follow up on your last suggestion to wrap up the loose ends. I added those lines to the
csprojalong with the post build action, but that did not seem to fix the issue. Prior to adding to those linesbinhad thex86 / x64folders with theSQLite.Interop.dllincluded. I’m still really confused on what makes this work vs the Unity version, but for now I am going to admit defeat and relay on the speckle manager and disable myConnectorGrasshopperproj.Thanks to you and @izzylys for trying to troubleshooting this issue.