yusufkenangirgin
.net core Error
InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Identity.RoleManager
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?9 replies
❔ 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?
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