friendywill
friendywill

Reputation: 55

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.

Upvotes: 0

Views: 250

Answers (2)

friendywill
friendywill

Reputation: 55

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

Upvotes: 1

Gopa
Gopa

Reputation: 354

The error looks like your visual studio is not able to connect to the nuget package source configured. You can refer the below link for the error details https://learn.microsoft.com/en-gb/nuget/reference/errors-and-warnings/nu1101

You can try setting up the package source in you visual studio, refer the steps in Microsoft documentation https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-visual-studio

Upvotes: 0

Related Questions