# MS SQL DB Error

**URL:** <https://community.dynatrace.com/t/ms-sql-db-error/56678>\
**Category:** Extensions\
**Tags:** databases, extensions\
**Created:** [August 9, 2026, 3:03pm UTC](https://community.dynatrace.com/t/ms-sql-db-error/56678 "2026-08-09T15:03:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thilinaab](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@thilinaab](https://community.dynatrace.com/u/thilinaab)\
**Post date:** [August 9, 2026, 3:03pm UTC](https://community.dynatrace.com/t/ms-sql-db-error/56678/1 "2026-08-09T15:03:06Z")

</div>

We are facing this error in an extension MS SQL DB end point- Port 1433: [ONGOING] - Query has failed: Invalid column name ‘logical\_server\_name’. [SQLState: S0001, ErrorCode: 207]. If some one could help on this, appreciate it.

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [August 10, 2026, 2:37am UTC](https://community.dynatrace.com/t/ms-sql-db-error/56678/2 "2026-08-10T02:37:38Z")

</div>

Hi&nbsp;[@thilinaab](https://community.dynatrace.com/user/107049)

I think this error happens because the extension is running a query containing logical\_server\_name—a column specific to Azure SQL Database system views—against a standard On-Premises or SQL Server VM instance where the column doesn’t exist.

Ensure the endpoint in Extension settings is configured for Microsoft SQL Server, not Azure SQL Database.

Thanks,

Sujit
