Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019--Exception from HRESULT 0x80041fe4

Every time I try to create a new "ASP.NET Web Application (.NET Framework)" project, as soon as I get to the page where I select from Empty, Web Forms, MVC etc and select Web Forms, I get a popup saying

Exception from HRESULT: 0x80041fe4

I'm able to continually try creating these with no luck. I've deleted the folder and retried, I've uninstalled Visual Studio and reinstalled it, all to no avail.

like image 710
Cora Paunović Avatar asked Oct 10 '20 02:10

Cora Paunović


2 Answers

Cora - I encountered the same issue and your steps worked. After VS2019 created the solution folder, I closed it and relaunched it. The second time through, creating the solution and project using exactly the same name it successfully created the solution and project.

like image 85
JJ Lay Avatar answered Oct 09 '22 20:10

JJ Lay


I encountered the same error when trying to create a C# console app project. I used the steps in JJ Lay's answer to work around the issue. To be clear, these are the steps that I used:

  1. Attempt to create a C# console app project (for example, named "TestProj" in Visual Studio 2019
  2. Encounter 'Exception from HRESULT 0x80041fe4'
  3. Close Visual Studio 2019
  4. Open Visual Studio 2019
  5. Use the same exact steps and name as in step 1 (for example, "TestProj") and try to create the project again
  6. Project is created successfully this time
like image 41
Lars Passic Avatar answered Oct 09 '22 18:10

Lars Passic