© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
8 replies
yusufkenangirgin

.net core Error

InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.RoleManager
1[Microsoft.AspNetCore.Identity.IdentityRole
1[Microsoft.AspNetCore.Identity.IdentityRole
1[System.Int32]]' while attempting to activate 'Library.Controllers.AccountController'.
Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ThrowHelperUnableToResolveService(Type type, Type requiredBy) what is the solution of this error?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ .Net Core
C#CC# / help
3y ago
✅ ASP.NET Core MVC error
C#CC# / help
3y ago
✅ DevOps .net core publish error
C#CC# / help
4y ago
.NET Core OnModelCreating gives me error
C#CC# / help
14mo ago