Visual Studio 2022 Enterprise Crashes When Loading

Robert DeSautel 0 Reputation points
2023-01-25T14:13:03.7+00:00

I have been looking all over the internet trying to find a solution to this. I have installed Visual Studio 2022 Enterprise and receive the following error, image below. I will have several error windows popup saying essentially the same error occurring then I receive another exception message in the image below. I have Visual Studio 2019 Pro installed and I do not receive this issues. I have Visual Studio 2022 Community installed on a separate machine and it works fine. I have uninstalled all versions of Visual Studio, even used the uninstall tool to remove other remnants of Visual Studio. I then reinstalled Visual Studio 2022 on its own and I still have the same error. I reinstalled Visual Studio 2019 and that IDE version still works.

Attached is the Activity Log these errors are dumping into. Does anyone have a solution or experienced this same problem?

ActivityLog.xml

User's image

User's image

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
    2023-01-26T13:18:20.16+00:00

    Hi @Robert DeSautel ,

    Please try following suggestions:

    1. Right-click and run VS as administrator.
    2. Run CMD as administrator > type and run "DISM.exe /Online /Cleanup-image /Restorehealth" command. Wait for this command operation to be completed, and check the result. If everything’s good, please continue to run "sfc /scannow" command(See this document: Use the System File Checker tool to repair missing or corrupted system files for details).
    3. Try to update Windows OS.
    4. Go to the C:\Users\ <username>\AppData\Local\Microsoft\VisualStudio folder, open "17.0_XXXXXXXX" folders and rename every "ComponentModelCache" folder, then restart VS.

    Please feel free to let me know if any of above methods works.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.