Edit

Share via


The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception

At a glance
Goal: Fix SQLite init error on macOS
Time: 2 minutes
Plugins: None
Prerequisites: Set up Dev Proxy

After starting the proxy, you see the following error:

The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception.

This error happens when macOS doesn't consider the libe_sqlite3.dylib file an executable.

Open the dev-proxy installation folder in a command prompt and execute chmod +x libe_sqlite3.dylib.

See also