No me deja crear proyectos ASP.NET y me sale el error HRESULT E_FAIL de una llamada a un componente COM

Varpu 0 Reputation points
2023-10-03T21:50:09.91+00:00

Hola, les quería preguntar si existe una solución para este error que me esta saliendo a la hora de crear un nuevo proyecto asp.net Framework pero si me deja usar el resto de proyectos.User's image

intente reparando, quitando modificaciones y reinstalando pero no se soluciona, necesito ayuda porque ya se me terminaron las ideas y las paginas que dicen arreglarlo no lo hacen.

estas son las cargas de trabajo que tengoUser's image

User's image

Developer technologies | Visual Studio | Other
Developer technologies | ASP.NET | Other
Developer technologies | C#
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Zhengye Xu-MSFT 95 Reputation points Microsoft External Staff
    2023-10-04T02:27:48.8066667+00:00

    Hi Varpu,

    Welcome to Microsoft Q&A forum.

    Please try following:

    1. Reset Visual Studio settings(run in ).devenv /ResetSettingsDeveloper Command Prompt for Visual Studio 2022
    2. Close VS > remove the hidden folder, and folders > launch VS and open your project..vsbinobj
    3. Reinstall the ASP.NET and web development workload from VS Installer > Modify > Workloads > uncheck the workload > Modify > check it again > Modify.
    4. Try to run command in , reproduce this issue and navigate to , open ActivityLog.xml file and check if there’s any detailed error message.devenv /LogDeveloper Command Prompt for Visual Studio 2022%APPDATA%\Microsoft\VisualStudio\<Version>\ActivityLog.xml

    Best Regards,

    Zhengye


    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.

    0 comments No comments

  2. Varpu 0 Reputation points
    2023-10-04T21:31:03.5333333+00:00

    Sorry, I only tried option 3 because I didn't understand options 1, 2 and 4. Can you explain clearly how to try the other options?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.