---
id: post/mohana-blog/tag-blogger-com-1999-blog-1492436440038408053-post-6599711385738349777--4f78d5017d
type: post
title: "BC28.5 Upgrade: Fixing the OpenTelemetry Error in Invoke-NAVApplicationDatabaseConversion"
summary: During a Business Central 25 to 28.5 on-premises upgrade, the Invoke-NAVApplicationDatabaseConversion cmdlet fails with an OpenTelemetry error because PowerShell 5.1 cannot resolve newer .NET dependencies required by OpenTelemetry.Instrumentation.Http 1.16. Upgrading to PowerShell 7.6.6 or newer resolves the issue.
tier: community
language: en
tags:
  - upgrade
  - opentelemetry
  - powershell
  - database conversion
  - troubleshooting
system: administration
review:
  state: reviewed
  by: opus
  at: "2026-11-28T01:06:36.395Z"
  flags: []
generated:
  at: "2026-11-28T00:12:53.289Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: 38606f7d5e6cda3d5bd8442112d1a0e136e3fad74dab43e406a3eb94738aee3c
evidence:
  - kind: blog
    url: http://mohana-dynamicsnav.blogspot.com/2026/11/bc285-upgrade-fixing-opentelemetry.html
    title: "BC28.5 Upgrade: Fixing the OpenTelemetry Error in Invoke-NAVApplicationDatabaseConversion"
    date: "2026-11-27"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: http://mohana-dynamicsnav.blogspot.com/2026/11/bc285-upgrade-fixing-opentelemetry.html
    title: "BC28.5 Upgrade: Fixing the OpenTelemetry Error in Invoke-NAVApplicationDatabaseConversion"
    date: "2026-11-27"
    commit: null
    t: null
    quote: .NET Framework only reads the host's .exe.config, so inside powershell.exe or ISE they never apply.
  - kind: blog
    url: http://mohana-dynamicsnav.blogspot.com/2026/11/bc285-upgrade-fixing-opentelemetry.html
    title: "BC28.5 Upgrade: Fixing the OpenTelemetry Error in Invoke-NAVApplicationDatabaseConversion"
    date: "2026-11-27"
    commit: null
    t: null
    quote: Update PowerShell 7 to PowerShell 7.6.6 or newer.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
post_id: tag:blogger.com,1999:blog-1492436440038408053.post-6599711385738349777
source_id: mohana-blog
source_name: Mohana's Dynamics NAV & BC blog
url: http://mohana-dynamicsnav.blogspot.com/2026/11/bc285-upgrade-fixing-opentelemetry.html
published_at: "2026-11-27T08:32:04.000Z"
author: Mohana Yadav
full_text: false
words: 225
quotes:
  - text: .NET Framework only reads the host's .exe.config, so inside powershell.exe or ISE they never apply.
    why_it_matters: Clarifies why binding redirects do not work in PowerShell 5.1 and identifies the technical limitation
  - text: Update PowerShell 7 to PowerShell 7.6.6 or newer.
    why_it_matters: Provides the direct solution to resolve the OpenTelemetry error
code_objects_mentioned: []
systems:
  - administration
  - platform
versions_mentioned:
  - "25"
  - "28.5"
preview:
  embeddable: true
  frame_url: null
  image: https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYcsvGlK28EU-a21gHTrpCK2V8aGJ6oNZcwrRGv9XP6NimEf4tY4iDaru4129SDKZH7CWDhF8wS4NWMfikqojrDZITGRje-6RRR3_bamdmI5S3gTQBJT409KyUQdvSIPA6VmK-ODJPyqEFBAhwhTYjm4jDQlCBSEWuysW7JnrBRyvsNWblU6aSjLnyEe85/w1200-h630-p-k-no-nu/image.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: null
  favicon: https://mohana-dynamicsnav.blogspot.com/favicon.ico
  probed_at: "2026-11-28T00:59:17.974Z"
---

# BC28.5 Upgrade: Fixing the OpenTelemetry Error in Invoke-NAVApplicationDatabaseConversion

[Read the post](http://mohana-dynamicsnav.blogspot.com/2026/11/bc285-upgrade-fixing-opentelemetry.html) · Mohana's Dynamics NAV & BC blog (Mohana Yadav) · 2026-11-27 · 225 words · tier community · reviewed (checked by Opus)

> During a Business Central 25 to 28.5 on-premises upgrade, the Invoke-NAVApplicationDatabaseConversion cmdlet fails with an OpenTelemetry error because PowerShell 5.1 cannot resolve newer .NET dependencies required by OpenTelemetry.Instrumentation.Http 1.16. Upgrading to PowerShell 7.6.6 or newer resolves the issue.

## Key points

- Invoke-NAVApplicationDatabaseConversion fails in PowerShell 5.1 with OpenTelemetry.Instrumentation.Http type initialization exception during BC upgrades
- The issue is a regression in BC 28.5 where OpenTelemetry.Instrumentation.Http was upgraded from 1.9 to 1.16, requiring newer .NET dependencies
- Binding redirects in Microsoft.Dynamics.Nav.Management.dll.config do not apply in PowerShell 5.1 because .NET Framework only reads the host's .exe.config
- The service tier runs fine; only admin cmdlets are affected
- Upgrading to PowerShell 7.6.6 or newer resolves the error

## Quotes

- ".NET Framework only reads the host's .exe.config, so inside powershell.exe or ISE they never apply." (Clarifies why binding redirects do not work in PowerShell 5.1 and identifies the technical limitation)
- "Update PowerShell 7 to PowerShell 7.6.6 or newer." (Provides the direct solution to resolve the OpenTelemetry error)

## Context

- Features: Invoke-NAVApplicationDatabaseConversion cmdlet, OpenTelemetry instrumentation, Database conversion
- Versions: 25, 28.5

Source: Mohana's Dynamics NAV & BC blog, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
