Database connection - Insufficient column mappings

Posted on Jun 7, 2021 at 9:57 AM
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.

Posted on Jun 7, 2021 at 10:46 AM
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
Posted on Jun 7, 2021 at 11:03 AM
Thanks, it was that the timestamp was not on correct format. Thanks for fast reply!
Posted on Jun 7, 2021 at 11:06 AM
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

This topic is closed and cannot receive new replies.