When I try to create a SQLServer connection for a local SQL Express install, CData Sync is throwing the following error: System error: UnknownHostException - No such host is known (DATA-DEV2\SQLEXPRESS)
I am able to connect to the server with SSMS but for some reason CData cannot find it. CData and SQL Express are on the same server.
Thank you for the response. I have tried localhost to no avail. I have also tried the local IP address with similar results. The thing is though I can connect to the SQLExpress both locally and remotely using SSMS so I know the database instance is up and running. I just can’t connect to it with CData Sync. Please see the error log posted below.
I was able to make it work with a full SQL install. The SQL Express did not work for me. If anyone finds a way to make SQL Express work please let me know. For now I can move on.
CData Sync connects to SQL Server using SQL Server Authentication (Auth Scheme=Password). Normally, with SQL Server Express, SQL Authentication is disabled on the server level.
The error you are getting is documented here: MSSQLSERVER_18456 - SQL Server | Microsoft Learn
You can check this by following the steps on your SSMS:
In SQL Server Management Studio (SSMS) Object Explorer, right-click the server and then select Properties.
On the Security page, under Server authentication, select SQL Server and Windows Authentication Mode.
In the SQL Server Management Studio dialog box, select OK to acknowledge the requirement to restart the SQL Server.
In Object Explorer, right-click your server, and then select Restart. If SQL Server Agent is running, it must also be restarted.
If you have already tried this, and it still doesn’t work, it’d be best to check the network access by checking the IP Port configurations in SQL Server Configuration Manager and ensure all the IPs are active.
This website stores cookies on your computer. These cookies are used to collect information about how you interact with our website and allow us to remember you. We use this information in order to improve and customize your browsing experience and for analytics and metrics about our visitors both on this website and other media.
Review section III of our Privacy Policy for more information on cookies.
To opt out of “sale” or “sharing” of non-cookie data, visit our Privacy Rights Request Form.