I would recommend you follow option 4 in the other post where you run VS with /log and then look at the generated activity log file.
You should also take a look at the Event Log in Windows to see if it recorded the error.
Another thing to consider is that it may be one of your custom extensions that you have installed so disable any extensions you're using first, restart VS and try again. Note that this is similar to what /safemode does but I don't think you can create an ASP.NET project in safemode.
Does this happen for non-ASP.NET projects? In other words can you create a class library or console app project?
How to fix an error in Visual Studio error hresult e_fail from a call to a com component
TOMAS ALBERTO GOMEZ GARRO
0
Reputation points
Good afternoon, I am currently encountering this error when trying to create an ASP.NET Web Application (.Net Framework) project.
And I tried this forum, but it didn't solve it:
https://learn.microsoft.com/en-us/answers/questions/1380834/no-me-deja-crear-proyectos-asp-net-y-me-sale-el-er
I already uninstalled everything and reinstalled it, what can I do?
I attach evidence of the error, I am using the community version of Visual studio 2022
Developer technologies | Visual Studio | Extensions
Developer technologies | Visual Studio | Extensions
Add-on components that enhance and customize the Visual Studio integrated development environment
Developer technologies | Visual Studio | Setup
Developer technologies | Visual Studio | Setup
The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
1 answer
Sort by: Most helpful
-
Michael Taylor 61,106 Reputation points
2024-02-02T21:23:11.5166667+00:00