Update: said error only happens when calling the Open() method. -----Original Message----- From: Matt [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 9:02 PM To: sqlite-users@sqlite.org Subject: [sqlite] Unable to load DLL Help!
Im using the ado.net dataprovider for sqlite and getting a: [DllNotFoundException: Unable to load DLL (sqlite3).] Finisar.SQLite.sqlite3.sqlite3_open(IntPtr filename, IntPtr& db) +0 Finisar.SQLite.sqlite3.open(String filename) +113 Finisar.SQLite.SQLiteConnection.Open() +1592 I'm getting an invalid access to memory location (Exception from HRESULT: 0x800703E6). (Windows 2003) I tried running ntfilemon and ntregmon and neither of these tools are showing any type of error trying to find sqlite3.dll. In addition none of its dependencies are missing. Im assuming "unable to load dll" is not the actual problem, the dll is in the correct directory and was working fine until today. I tried an old version of sqlite3.dll (before the autoincrement feature was implemented) which seemed to work ok, but the database im using uses that feature so I need to get a more current version working. Any help is much appreciated, I need to solve this problem ASAP. Thanks!