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:
"DevConnection": "server = ((localdb)\\MSSQLLocalDB; Database =TransactionDB;
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)