---
title: Create analysis reports
description: Create Analysis Reports in Database Experimentation Assistant
ms.date: 01/24/2020
ms.prod: sql
ms.prod_service: dea
ms.suite: sql
ms.technology: dea
ms.tgt_pltfrm: ""
ms.topic: conceptual
author: HJToland3
ms.author: jtoland
ms.reviewer: mathoma
ms.custom: "seo-lt-2019"
---
# Create analysis reports in Database Experimentation Assistant (SQL Server)
After you replay the source trace on both of your target servers, you can generate an analysis report in Database Experimentation Assistant (DEA). Analysis reports help you gain insights about the performance implications of proposed changes.
## Create an analysis report
1. In DEA, select the list icon, specify the server name and authentication type, select or deselect the **Encrypt connection** and **Trust server certificate** check boxes as appropriate for your scenario, and then select **Connect**.

2. On the **Analysis Reports** screen, select **New analysis report**.

3. On the **New analysis report** screen, specify a name for the report, the storage location and path to the Target 1 and Target 2 trace files, and then select **Start**.

If the information you entered is valid, the analysis report is created.

> [!NOTE]
> If any of the the information you entered is invalid, the text boxes containing the incorrect information are highlighted in red. Make any necessary corrections, and then select **Start** again.
## Frequently asked questions about analysis reports
**Q: What does my analysis report tell me?**
DEA uses statistical tests to analyze your workload and determine how each query ran from Target 1 to Target 2. It provides performance details for each query. Learn more about DEA in [Get started](database-experimentation-assistant-get-started.md).
**Q: Can I create a new analysis report while another report is being generated?**
No. Currently, only one report can be generated at a time to prevent conflicts. However, you can run more than one capture and replay at the same time.
**Q: Can I generate an analysis report by using the command prompt?**
Yes. You can generate an analysis report at the command prompt. You can then view the report in the UI. For more information, see [Run at command prompt](database-experimentation-assistant-run-command-prompt.md).
## Troubleshoot analysis reports
**Q: What security permissions do I need to generate and view an analysis report on my server?**
The user who is logged in to DEA must have sysadmin rights on the analysis server. If the user is part of a group, make sure the group has sysadmin rights.
|Possible errors|Solution|
|---|---|
|Unable to connect to the database. Make sure you have sysadmin rights for analyzing and viewing the reports.|You might not have access or sysadmin rights to the server or database. Confirm your login rights and try again.|
|Unable to generate **Report Name** on the server **Server Name**. For details, check the **Report Name** report.|You might not have the sysadmin rights needed to generate a new report. To see detailed errors, select the errored-out report and check the logs in %temp%\\DEA.|
|The current user doesn't have the required permissions to run the operation. Make sure you have sysadmin rights for performing trace and analyzing the reports.|You don't have the sysadmin rights needed to generate a new report.|
**Q: I can't connect to the computer running SQL Server**
- Confirm that the name of the computer running SQL Server is valid. To confirm, try to connect to the server by using SQL Server Management Studio (SSMS).
- Confirm that your firewall configuration doesn't block connections to the computer running SQL Server.
- Confirm that the user has the required user rights.
You can see more details in the logs in %temp%\\DEA. If the problem persists, contact the product team.
**Q: I see an error when I generate an analysis report**
Internet access is required the first time you generate an analysis report after installing DEA. Internet access is required to download packages that are required for statistical analysis.
If an error occurs while the report is created, the progress page shows the specific step at which analysis generation failed. You can see more details in the logs in %temp%\\DEA. Verify that you have a valid connection to the server with the required user rights, and then retry. If the problem persists, contact the product team.
|Possible errors|Solution|
|---|---|
|RInterop hit an error on startup. Check RInterop logs and try again.|DEA requires internet access to download dependent R packages. Check RInterop logs in %temp%\\RInterop and DEA logs in %temp%\\DEA. If RInterop was initialized incorrectly or if it initialized without the correct R packages, you might see the exception "Failed to generate new analysis report" after the InitializeRInterop step in the DEA logs.
The RInterop logs also might show an error similar to "there's no jsonlite package available." If your machine doesn't have internet access, you can manually download the required jsonlite R package: