© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
22 replies
M B V R K

✅ SQL Server issue

Hi friends,
I'm working on an
ASP.NET COre 7 WEB API
ASP.NET COre 7 WEB API
project, this project depending on a
Sql server
Sql server
database, using
EF Core
EF Core
.

The Issue:
When I start the
API
API
and try to post a test I get the error shown in the attachments.
But the Sql server is works fine and I can login to it normal (As shown in the attachments)

Additional Info:

SQL Server Version: is
SQL Server 2022 Enterprise
SQL Server 2022 Enterprise


Connection String:
The connection string I use in the
appSettings.json
appSettings.json
is the following :
  "ConnectionStrings": {
    "DefaultConnection": "Server=MBARK;Database=IContacts;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=True;"
  },
  "ConnectionStrings": {
    "DefaultConnection": "Server=MBARK;Database=IContacts;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=True;"
  },

Windows User
Actually when I installed the windows I didn't created a
local user
local user
I directly
logged in
logged in
to my
Microsoft account
Microsoft account
.

Please I hope someone to provide a help, because of I get tired from attempting many methods.
Massive thanks in advance
image.png
image.png
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

❔ SQL Server Alias issue
C#CC# / help
3y ago
SQL Server Table Import Issue
C#CC# / help
13mo ago
❔ Timeout Issue - (SQL Server & CSharp)
C#CC# / help
4y ago