LogViewPlus Support

Database connection - Insufficient column mappings

https://www.logviewplus.com/forum/Topic1015.aspx

By morten - 7 Jun 2021

When I add a data source I got the error after connectiong to database -> "Insufficient column mappings -a minimum of two columns are required.", but in the column list it is listed 6 columns.

By LogViewPlus Support - 7 Jun 2021

Hi Morten,

Thanks for reporting this issue.  I am unfortunately unable to recreate this problem locally.

This error message is somewhat deceptive as it is displayed when:
  1.  There are less than two visible columns.
  2.  A timestamp column has not been identified.

From the screenshot, it looks like neither of these situations is a problem here.  Can you please confirm that you are using the latest version of LogViewPlus (v2.5.14 or greater)?  Also, please try navigating between the tabs after making column changes - maybe the grid updates have not been saved?

Finally, what is the underlying data type of the Timestamp field (as defined in the database)?

Thanks,

Toby
By morten - 7 Jun 2021

Thanks, it was that the timestamp was not on correct format. Thanks for fast reply!
By LogViewPlus Support - 7 Jun 2021

Glad that helped - thanks for letting me know Morten.

I will take a look at that error message for the next release.  I think we can make it more clear.

Thanks again,

Toby