Fix Report Design Issues Using AI in Visual Studio Designer
- 4 minutes to read
This help topic describes how to use an AI assistant to fix report design issues. Suggested fixes leverage relevant report context, such as report elements and their property values.
The AI Assistant displays proposed changes for review. For some issues, the assistant can apply a fix after the user confirms it. For other issues, it suggests a solution that the user must implement manually.
DevExpress AI Assistant for Visual Studio
The DevExpress Unified Component Installer installs the AI-powered Assistant for Visual Studio extension.

Note
The default AI Assistant endpoint is a DevExpress demo endpoint. This endpoint is rate-limited and intended for evaluation purposes. To avoid these limitations, configure the extension to use your own AI service. See Configure AI Services.
Configure AI Services
Go to Tools → Options → DevExpress → AI Assistant to open AI Assistant options.

| Option | Description |
|---|---|
Endpoint URL |
The service endpoint used to connect to Azure OpenAI. For OpenAI connections, this option must be empty. |
API Key |
A personal access key required to authenticate requests to AI service. |
Model Name |
The identifier of the AI model (for example, gpt-5-mini). |
Enable Logging |
If enabled, the extension records request and response details for diagnostic purposes. Logs are stored in the following folder: C:\Documents and Settings\<UserName>\AppData\Local\DevExpress\AI_Assistant_VSIX |
Enable Prompt Caching |
If enabled, previously used prompts and responses are cached to improve performance and reduce repeated requests. |
Warning
There are OpenAI models (for example, GPT-5, o1, and o3 series) that do not support the Temperature parameter. To avoid runtime exceptions when targeting these models, set the Temperature to 1. The value is ignored by the service, but this setting prevents validation/compatibility errors.
Analyze and Fix Issues
Use the smart tag on a report, band, or control to analyze issues related to that specific report element:

While the LLM analyzes the issue, the AI Assistant displays a wait screen. You can click Cancel to stop the analysis.
When the analysis is complete, the Review Changes and Suggestions dialog appears:

The dialog contains two result categories:
- Changes
- Proposed modifications that the AI Assistant can apply to the report automatically. The dialog groups changes by category: Layout, Data Binding, and Summary. Each change lists the affected report element, the issue description, the proposed fix, relevant property values, and a label that indicates the change type: Modify, Add, or Remove. Use checkboxes to select all changes or individual changes.
- Suggestions
- Recommendations that require manual review/changes to the report.
Use the filter drop-down to switch between the two categories or display both:

Use Search to filter the results by text.
Click Apply to update the report with the selected changes. Click Cancel to close the dialog without applying the selected changes.
Issues Available for AI Analysis
AI-powered analysis is available for the following Report Design Analyzer issues:
- XRE002
- The control is outside the right page margin.
- XRE003
- The control is outside of the report’s printing area.
- XRE004
- The control is overlapped.
- XRE015
- The text format string is invalid.
- XRE022
- The property’s binding is invalid.
- XRE023
- The property’s expression is invalid.
- XRE024
- The data member is invalid.
- XRE026
- The filter string is invalid.
- XRE050
- The barcode text contains invalid characters.
- XRE051
- The barcode text format is not valid.
- XRE053
- The barcode bounds are too small.
- XRE070
- The line’s width exceeds its bounds.
- XRE080
- The cross tab field is invalid.
- XRE090
- No region is specified for the summary.
- XRE230
- Some elements of your document overlap and thus can be exported to Excel format incorrectly.
Troubleshooting
AI Assistant Smart Tag Is Not Displayed
- Possible Cause
- The DevExpress AI-powered Assistant for Visual Studio extension is disabled.
- Solution
- Open the Extension Manager in Visual Studio (Extensions → Manage Extensions…). Switch to the Installed tab and enable the DevExpress AI-powered Assistant for Visual Studio extension. Restart Visual Studio.
HTTP 404 (Deployment Not Found)
- Possible Cause
- The specified model deployment does not exist. This error may occur if the deployment name is incorrect, if the deployment was recently created and is not yet active, or if it was deleted.
- Solution
- Open AI Assistant Options and check the
Model Namesetting.