Tostiapparaat
Tostiapparaat
CC#
Created by Tostiapparaat on 6/8/2023 in #help
❔ dotnet ef database update not working on MAC.
Hello I'm working in visual studio with .net 6, working with EF. I'm having troubles getting my project to work. Im trying to sudo dotnet ef database update. I'm getting a error to error to new error 😛 The problem I'm running into are: (Errors) - CREATE DATABASE permission denied in database 'master' - Invalid value for key 'Trust Server Certificate' turned on 'accept non-trusted certificates automatically in Datagrip - Cannot authenticate using Kerberos. Ensure Kerberos has been initialized on the client with 'kinit' and a Service Principal Name has been registered for the SQL Server to allow Kerberos authentication. ErrorCode=InternalError My connection string:
builder.Services.AddDbContext<DomainContext>(options =>
{
options.UseSqlServer(@"Server=.;Database=YourDatabaseName;
User ID=thomas2;Password=strongpassword2023!;
Trusted_Connection=False;
TrustServerCertificate=True
MultipleActiveResultSets=True;
Encrypt=True;

");
});
builder.Services.AddDbContext<DomainContext>(options =>
{
options.UseSqlServer(@"Server=.;Database=YourDatabaseName;
User ID=thomas2;Password=strongpassword2023!;
Trusted_Connection=False;
TrustServerCertificate=True
MultipleActiveResultSets=True;
Encrypt=True;

");
});
simply just lost by now.. 😦 pls help
8 replies
CC#
Created by Tostiapparaat on 10/23/2022 in #help
How to give my Select multiple=multiple dropdown list a checkbox to click on? And how to catch it?
15 replies
CC#
Created by Tostiapparaat on 10/10/2022 in #help
How to send multiple data sources to a view in asp.net 6? [Answered]
98 replies