Search code examples
asp.net-core.net-5

ASP.NET Core MVC NET 5.0 HTTP Error 500.0


I have an ANCM In-Process Handler Load Failure with the ASP.NET Core 5 MVC when launching my project, using Microsoft Visual Studio to create the files.

When I create a new project under these conditions, along with using individual accounts for users, as soon as I click on IIS without modifying anything, I get build errors as shown in this screenshot:

enter image description here

This only occurs on my laptop and there is no difference in the way this is installed on my laptop compared to my desktop. I am a noob and don't know what other debugging methods you guys might need, but I would be very grateful if you could help me out! Thank you.


Solution

  • Fixed it, follow these steps and more that are listed below how to resolve "Unable to find package" nuget error Your package source should look like this enter image description here

    Once you have gotten to this point, you will then need to install these packages using the packet manager console, to get to the packet manager console in visual studio, go tools > NuGet Packet Manager > Packet Manager console. Type in these commands:

    Install-Package Microsoft.EntityFrameworkCore.Tools -Version 5.0.11 Install-Package Microsoft.AspNetCore.Identity.UI -Version 5.0.11 Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 5.0.11 Install-Package Microsoft.AspNetCore.Identity.EntityFrameworkCore -Version 5.0.11 Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 5.0.11