Error while trying to install Visual Studio “Error: An error occurred.”

Luis Miguel Cardona Reyes 10 Reputation points
2024-03-18T15:46:50.4666667+00:00

PrtScr capture_24.jpg

I try to open the VS Installer and it only shows a blank screen that says error.

I disabled the Firewall, the antivirus, and I don’t have the VPN, I deleted the Installer folder and tried again, but the error persists.

I ran it from C:// and the same error continues.

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
964 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Luis Miguel Cardona Reyes 10 Reputation points
    2024-03-18T20:29:15.6033333+00:00

    The problem was with the C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config

    There was a conflict with invariant name.

    I added <remove invariant="MySQL.Data.MySqlClient" /> on the System.web tag and It works.

    1 person found this answer helpful.