Skip to main content
All docs
V24.1

Visual Studio Report Designer - Troubleshooting

  • 8 minutes to read

This guide can help you resolve an error code or unexpected behavior while using the Visual Studio Report Designer.

Common Rules

  1. The version of DevExpress components you use should support the version of Visual Studio IDE and .NET that you use to develop a project. See requirements according to your platform: Prerequisites.
  2. If your project uses NuGet packages, make sure that DevExpress packages version is identical to the version of DevExpress components that was installed by the installer.
  3. We recommend that you use the newest version of DevExpress components, since it contains the latest bug fixes: Supported Versions, Version History, and IDE Prerequisites.

Log File Location

.NET 6+

Designer log files designer_trace.log and external_trace.log are located in the following folder:

%HOMEPATH%\AppData\Local\DevExpress\XtraReportsDesignNetCore\

Cannot launch the Visual Studio Report Designer

This problem can occur if you install only NuGet packages. For proper functionality, the Visual Studio Report Designer requires the installation of DevExpress components on your development machine using the Unified Component Installer. Refer to the following topic for details: Download the Registered Version.

There is no Report Controls section in the Toolbox after the Visual Studio Report Designer is opened

Do you see other DevExpress controls in the toolbox?

YES

Select Reset Toolbox in the Visual Studio XtraReports menu:

XtraReports Menu Reset Toolbox

Note that the XtraReports menu is available only in the Visual Studio Report Designer.

NO
Follow the steps from this article: Resolve Issues With Toolbox Items.

All items in the DX: Report Controls section are disabled

This behavior may occur if the Show All option is enabled in your toolbox. The option forces the toolbox to display components that are not supported by the current platform and are disabled (grayed out). Right-click the toolbox and disable the Show All option to hide irrelevant controls.

.NET Framework
The Toolbox category with report controls is named DX.XX.X: Report Controls, where XX.X is a version number.
.NET 6+
The Toolbox category is named DX: Report Controls (without a version number).

Visual Studio freezes on attempt to open Visual Studio Report Designer

This issue may occur when the designer is opened for the first time after you run the DevExpress installer, because the VS Toolbox pane is refreshed with newly added items. This process can take a significant amount of time, especially if you have two or more major DevExpress versions installed at the same time.

This issue is not directly related to the way our DevExpress Visual Studio Report Designer for .NET is implemented, but rather to the way Visual Studio updates toolbox items. You need to wait until the update is completed.

Report classes look like C#/VB code files in Visual Studio; it is not possible to open the designer by clicking these files

Missing RepxPackage Extension

This issue may occur when the DevExpress.XtraReports.RepxPackage extension is either not installed or is disabled in Visual Studio. This extension is automatically installed when you run our components installer. Try to reinstall our components or run the installer in Repair mode to repair this installation.

If this does not help, make sure the DevExpress.XtraReports.RepxPackage extension is enabled. To do this, open the Manage Extensions window in Visual Studio. In this window, search for the DevExpress.XtraReports.RepxPackage extension and make sure that this extension is enabled.

SDK-Style Project

If your project is an SDK-style project, the Report Designer does not open when you double-click a report. To open the designer, right-click the report in the Solution Explorer and select View Designer from the context menu.

Unable to open the .repx files with the Designer

This behavior is expected as the Visual Studio Report Designer no longer supports the .repx format. Review the following Breaking Change for more information: The .repx (report definition) files cannot be opened in the Visual Studio Report Designer.

You can add a new blank *.cs report to your project, and import the *.repx file to the new *.cs report. An alternative to the Visual Studio Report Designer is the Report Designer Extension for VS Code. This extension works with .repx files.

Visual Studio or Visual Studio Report Designer crashes while opening a report

Try to repair the DevExpress installation or reinstall the components using our installer. You can download the Unified Component Installer for this purpose: Download the Registered Version.

If this does not help, please contact our Support Team and share the following diagnostic information:

  • Collect a call stack with design-time exceptions.
  • Check Visual Studio logs for information about the issue. Run Visual Studio with the Log command. After you close Visual Studio, find the ActivityLog.xml file in the subfolder for Visual Studio data: %AppData%\Microsoft\VisualStudio\<version>\ActivityLog.xml. If there’s any error information, please share it with us.
  • For .NET 6+ only. Send us the logs generated by our Visual Studio Report Designer. Get the most recent designer_trace.log and external_trace.log files from the following folder:%HOMEPATH%\AppData\Local\DevExpress\XtraReportsDesignNetCore\. You can clear this folder before you reproduce the issue.

Repeating font size values extremely enlarges the Font combo box on the toolbar

When a newly created blank report is opened in Visual Studio Report Designer, the report’s Font value is unexpectedly set to a long string of many repeated values:

VS Designer Error - Multiple Font Size Value String

This issue occurs due to certain Windows regional settings. To fix this issue, modify the %LocalAppData%\Developer Express Inc\XtraReports Suite\DesignerSettings.xml file as follows:

<?xml version="1.0"?>
<DesignerSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Font>Arial, 9.75pt</Font>
</DesignerSettings>

Report Designer Errors

This section lists errors and warnings that may appear in the Report Designer.

The Designer’s Logs folder mentioned in the error messages is the DevExpress/XtraReportsDesignNetCore folder located in the Local AppData folder. The Local AppData folder may be different on different hosts, so you should use the LocalApplicationData system variable in your code or type %localappdata% in Windows Explorer to navigate to that folder.

XRD101

Message Text
Build your solution and reopen this window for the Report Designer to operate correctly.
Why the Message Appears
The project was not built before the Report Designer started. The changes made to the project may not be visible in the Designer. Rebuilding the project can eliminate the issue.

XRD102

Message Text
The Report Designer is not initialized properly. Restart Visual Studio and rebuild your solution.
Why the Message Appears
We detected malfunctions in the Report Designer process. To resolve the issue, rebuild the project and restart Visual Studio. If you still have issues, please contact DevExpress Support and send us the following log files: designer_trace.log, external_trace.log, and UnhandledErrors.log (found in the Designer’s Logs folder or in the parent folder of the logs).

XRD103

Message Text
The Report Designer process failed to start. Please contact DevExpress Support and send us the following log files: designer_trace.log, external_trace.log, and UnhandledErrors.log (found in the Designer’s Logs folder or in the parent folder of the logs).
Why the Message Appears
It is not always possible to detect the error’s root cause immediately. In cases when we were unable to identify the cause of the issue, the Report Designer displays message XRD103 and asks users to send us the log files for detailed examination.

XRD104

Message Text
The Report Designer is unable to instantiate a user-defined data source type. Please contact DevExpress Support and send us log files with information about the problematic type. Designer_trace.log, external_trace.log, UnhandledErrors.log, and {guid}.log files are located in the Logs folder or in the parent folder.
Why the Message Appears
A class referenced in your code could not be instantiated for an uncertain reason. The Report Designer displays message XRD104 to draw attention to this case. Reach out to our Support Team so they can help you identify the cause of the error. Please send us log files that may contain information about the incident and public API of the class that failed to be instantiated.

XRD105

Message Text
The report contains scripts. The following NuGet package is required to run these scripts: Microsoft.CodeAnalysis. Do you want to install it?
Why the Message Appears
Your application should have the Microsoft.CodeAnalysis NuGet package installed to compile and run report scripts. If this package is not installed, the Report Designer displays error message XRD105, which reminds you to install the package.

XRD106

Message Text
The version of DevExpress libraries (DLL assemblies or NuGet packages) referenced in the project does not match the version of libraries installed on your machine.
Why the Message Appears
The version of DevExpress libraries that you reference in your project should match the version of DevExpress libraries installed on your machine. If the versions do not match, the Report Designer detects this mismatch and shows the error message. To fix this error, either reference the version of the DevExpress libraries installed on your machine or install the version of DevExpress components that you reference in your project.

XRE310

Message Text
The Microsoft.CodeAnalysis.VisualBasic and Microsoft.CodeAnalysis.Common packages, required to compile the VisualBasic scripts, are missing in the C# project.
Why the Message Appears
This message appears when the referenced packages are missing in your project. Install Microsoft.CodeAnalysis.VisualBasic and Microsoft.CodeAnalysis.Common packages to fix the problem.

XRE311

Message Text
The Microsoft.CodeAnalysis.CSharp and Microsoft.CodeAnalysis.Common packages, required to compile the C# scripts, are missing in the Visual Basic project.
Why the Message Appears
This message appears when the referenced packages are missing in your project. Install Microsoft.CodeAnalysis.CSharp and Microsoft.CodeAnalysis.Common packages to fix the problem.