yusufkenangirgin
yusufkenangirgin
CC#
Created by yusufkenangirgin on 7/24/2024 in #help
.net core Error
InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.RoleManager1[Microsoft.AspNetCore.Identity.IdentityRole1[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?
9 replies
CC#
Created by yusufkenangirgin on 11/23/2022 in #help
❔ Update-database error
string connectionString; if (string.IsNullOrWhiteSpace(ConnectionConfig.ConnectionString)) {
ConnectionConfig.ConnectionString = "Server=DAD\SQLEXPRESS;database=BA_ETicaretCore8523;Trusted_Connection=True;multipleactiveresultsets=true;"; } connectionString = ConnectionConfig.ConnectionString;
optionsBuilder.UseSqlServer(connectionString); } Hello, when I download a project related to .net core and edit the connectionstring and update the data-database, Login failed for user 'sa'. I'm getting an error can anyone help?
17 replies