© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
16 replies
yusufkenangirgin

❔ 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?
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

❔ Update-Database error
C#CC# / help
4y ago
error when Update-Database
C#CC# / help
2y ago
❔ Update-Database causing error
C#CC# / help
3y ago
✅ Database-Update problem
C#CC# / help
10mo ago