topic hubAL Developmentofficial - Microsoftreviewed - checked by Opus

Troubleshooting in the client

Troubleshooting in the Business Central client covers tools for inspecting pages, understanding error dialogs, viewing database locks and table information, finding missing indexes, discovering events, exporting report data, and profiling performance. It also covers personalization, role customization, permissions, and on-premises mobile app issues.

Path: Development > Troubleshooting > Troubleshooting in the client · tier official · system development · narrative reviewed (checked by Opus)

Overview

This section collects tools and pages that help developers, administrators, and advanced users diagnose problems from within the Business Central client. They fall into a few groups: diagnosing errors and performance, examining data and the database, and adjusting what users see and can do.

Key points

  • Understanding the error dialog explains the Copy Details section, AL call stacks, and the Application Insights session ID for investigating user errors.
  • Performance Profiler subtopic: record and analyze business process performance, read call trees, schedule profiling for specific users and activity types, and share or download profiles.
  • Inspecting pages shows page design, elements, and data sources, with Visual Studio Code integration and permission control.
  • View Database Locks shows a snapshot of current locks to troubleshoot transaction blocking, and View table information shows record counts, data and index sizes, and compression types.
  • Missing indexes uses SQL Server Dynamic Management Views to suggest equality, inequality, and include columns.
  • Analyzing report data with Excel and XML exports report datasets, metadata, and filter information as data-only Excel or XML.
  • Events discoverability uses the Event Recorder to capture events during a scenario and produce AL snippets for subscribers.
  • Personalizing the workspace, customizing pages for roles, defining granular permissions with security filters, and fixing on-premises mobile app issues (icon fonts, device date, client type errors) are also covered.

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 13 Learn pages

Show 5 more