provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified
I get the error message when I try to connect to the SQL Server 2005 Database from VisualStudio 2022 and .Net 6 Project (winform).
my project is winform with .net 6 .when i want to connect to remote server that is sql 2005 ,i get error : 26 - Error Locating Server/Instance Specified.
my connectionstring:
"Data Source=192.168.1.88\sqlexpress;User Id=sa;Password=123456gt; Initial Catalog=master"
i can connect to this remote server by ssms
i can connect to this remote server by visualStudio2012 and project .net framework 3.5
i can connect to this remote server with instance of sql 2014 with project .net 6
i can connect to local server with instance of sql 2005 with project .net 6
but i can't connect to remote server 2005 with project .net 6 win form.
Thanks