Skip to content

[BUG] database_config: Object cannot be cast from DBNull to other types #192

@fabriziocs

Description

@fabriziocs

Component

Lite

Performance Monitor Version

1.2

SQL Server Version

Microsoft SQL Server Express (64-bit) 13.0.6475.1

Windows Version

Microsoft Windows NT 6.3 (17763)

Describe the Bug

In the "Collection Health" (Health Summary) tab, the collector "database_config" reports a warning:

Object cannot be cast from DBNull to other types.

Steps to Reproduce

  1. Open the Collection Health, Health Summary tab.
  2. Look for the database_config collector row.

Expected Behavior

The database_config collector should correctly report values and any null values should not cause casting errors.

Actual Behavior

The warning 'Object cannot be cast from DBNull to other types.' appears for the database_config row.

Error Messages / Log Output


Screenshots

No response

Additional Context

Same as #155

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions