I am working on an ASP.NET project using the .Net Framework 4.8. When connecting to SQL using an alias name, I receive the following 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: TCP Provider, error: 0 - Access is denied.)
Additionally, I have verified that my SQL alias configuration is correct, and the connection from SQL server management studio to SQL server appears to be successful.
Unfortunately, I am unable to connect to SQL server from Visual Studio 2019.