A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
.NET 6 SQL server 2014 connection problem
In the .net 6 project, we are using Dapper for data access and we facing a problem when trying to connect to SQL server 2014. But the same code works fine for SQL Server 2019. We are using SqlConnection from System.Data.SqlClient namespace.
Is there way outcome this problem without upgrading SQL Server ?
-----------------------------------------------------------------------------
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Developer technologies | ASP.NET Core | Other
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more