JIT Error - While Connection Setting To SQLite
Hi,
I have successfully complied fastreport.sqlite.data.dll by setting .netframwwork 4.6 in project settings.
but in designer I am getting for JIT error for new data source connection or opening and previewing old report (frx).
What is wrong.
Application does not support just-in-time (JIT)
debugging. See the end of this message for details.
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.84.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Data.SQLite, Version=1.0.84.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139'
at FastReport.Data.SQLiteConnectionEditor.SetConnectionString(String value)
at FastReport.Forms.ConnectionForm.cbxConnections_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
************** JIT Debugging **************
Application does not support Windows Forms just-in-time (JIT)
debugging. Contact the application author for more
information.
Comments
Hello!
To resolve this issue, install the FastReport.Data.SQLite package and then register the connector in the code before loading the report:
FastReport.Utils.RegisteredObjects.AddConnection(typeof(FastReport.Data.SQLiteDataConnection));