Features
Support
Purchase
Documentation
Download
Login
Register
Login
Register
Home
»
LogViewPlus Support
»
Configuration & Customization
»
Connect to SqLite DB - System.Data.SQLite v2
Connect to SqLite DB - System.Data.SQLite v2
Post Reply
Like
0
Connect to SqLite DB - System.Data.SQLite v2
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
LogViewPlus Support
LogViewPlus Support
posted Last Month
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.3K,
Visits: 4.4K
Glad that helped. Thanks for letting me know.
Regarding the remaining issues, it is difficult for me to know what the issue is without seeing the underlying data. When you add your
database connection
, you will see a tab at the top for "Column Mappings". You will need to play with these settings for best results.
LogViewPlus only supports one timestamp column (for date filtering and merging). The other column may need to be imported as a string.
Hope that helps,
Toby
Reply
Like
0
gjain
gjain
posted Last Month
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 4,
Visits: 7
Thanks. This worked.
I have a follow-up question. My database has two timestamps column (TimeStamp_UTC and TimeStamp_Local). However, LogViewPlus' column mapping only shows the first timestamp column. How can I make it recognize both of them.
Another issue is my timestamps are in Julian format and on "Validate" action I get this error "INVALID: String was not recognized as a valid DateTime."
How do I resolve both of these limitations?
Reply
Like
0
LogViewPlus Support
LogViewPlus Support
posted 2 Months Ago
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.3K,
Visits: 4.4K
Hi GJain,
Thanks for bringing this issue to our attention. It took a little research to figure out what was going on.
Previously, LogViewPlus was tested and working with System.Data.SQLite v1.0.119. For this release, you need to put the System.Data.SQLite.dll file into the %AppData%\LogViewPlus\DbProviders directory and that should be job done.
In the new
System.Data.SQLite
v2 release, things have changed a bit. The communication layer is PInvoke rather than Interop, so you will need to
provide a e_sqlite.dll file manually
. This is packaged for you in the
sourcegear.sqlite3
nuget package.
Be sure to use the correct e_sqlite.dll version which is win-x64/native:
Place both files into the DbProviders directory:
Finally, be sure the dlls are not blocked. If visible, you will need to check this box and select 'OK'.
Hope that helps,
Toby
Reply
Like
0
gjain
gjain
posted 2 Months Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 4,
Visits: 7
I have followed the instructions on connecting to SqlLite DB
1. Added System.Data.SQLite.dll to "AppData\Local\LogViewPlus\DbProviders" folder. I downloaded the dll from
https://www.nuget.org/packages/System.Data.SQLite/2.0.2#supportedframeworks-body-tab
2. Enabled custom plugins
3. Restarted LogViewPlus
But I still get the error "Unable to resolve provider for type: SQLite"
Also tried the "Program Data" route. But same issue.
Edited
2 Months Ago by
LogViewPlus Support
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search