Hi,
I am following a tutorial to create an application with asp.net using vs2022. When trying to update the database for first time it is giving me an error.
in my appsettings.json:
"ConnectionStrings": {
"DevConnection": "server = ((localdb)\\MSSQLLocalDB; Database =TransactionDB;
Trusted_connection=True; MultipleActiveResultSets=True;"
}
I am getting this error:
A network-related or instance-specific error occurred while establishing a connection to SQL
Server. The server was not found or was not accessible. Verify that the instance name is
correct and that SQL Server is configured to allow remote connections.
(provider: SNI_PN11, error: 26 - Error Locating Server/Instance Specified)