topic hubAL Developmentofficial - Microsoftunreviewed - model text not yet checked

Troubleshooting

Troubleshooting for Business Central development covers the tools and guides for finding and fixing problems: in-client diagnostics, AL debugging and profiling, telemetry in Application Insights, and troubleshooting guides (TSGs). It answers questions on diagnosing errors, slow performance, locks, and web service or migration failures.

Path: Development > Troubleshooting · tier official · system development · narrative unreviewed (model text not yet checked)

Overview

This section collects the resources for gathering information, identifying causes, and applying solutions when something goes wrong in Business Central. The overview page lists the main tools: error dialog inspection, Page Inspector, Event Recorder, database locks, the Performance Profiler, and the AL Profiler.

The content is split into four subtopics. Troubleshooting in the client covers diagnostic tools inside the web client, plus customization, personalization, permissions and on-premises mobile app issues. Troubleshooting in AL is for developers and covers the AL Profiler, VS Code debugging, snapshot debugging, Page Inspection, performance tuning and printing errors. Troubleshooting with telemetry explains how to send telemetry to Azure Application Insights and analyze it. The troubleshooting guides (TSGs) give targeted steps for specific problem areas.

Start with the overview page to pick a tool. Use the client tools for quick checks on a page or error, AL tools when you can reproduce the problem in code, and telemetry when you need to see what happened in a running environment. Go to the TSGs when the problem is cloud migration, report errors or performance, or web service failures.

Key points

  • Client tools include page inspection, error dialogs, database locks, table information, missing indexes, event discovery, report dataset export, and the Performance Profiler.
  • AL developers can use the AL Profiler, VS Code debugging, and snapshot debugging to diagnose slow code and errors.
  • Telemetry is sent to Azure Application Insights and can be analyzed with KQL or Power BI.
  • Telemetry pages cover turning it on, event lookup, setting up alerts, and using it for performance problems.
  • Troubleshooting guides (TSGs) cover cloud migration to Business Central online, report errors and performance, and web service (OData, API, SOAP) failures.
  • Client troubleshooting also covers page customization, personalization, permissions, and on-premises mobile app issues.
  • The overview page is the entry point and maps the tools to gathering information, finding causes, and fixing issues.

Subtopics

More Learn pages

Videos, posts and code changes

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Business Central pages and reports

The pages, reports and queries this hub’s Learn pages name (ms.search.form, API reference), joined to the code by exact object id (data/index/docs-objects.json); a page shows the table it runs on.

Learn also names 2 objects with no object page: page/9830, page/9831.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 8 of 31 Learn pages

Show 23 more