SQL connection from a Mac

Hi

I'm trying to run a VB.NET (.NET 4.0) program from a Mac using CrossOver

I'm using the System.Data library

When attempting to connect to the SQL server (2008) the connection breaks

This is the error:

System.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - SSL Provider: )

The Mac is attached to an AD domain as a member machine, and has access to shared resources, the time is sync'd.

The SQL connection string is <Data Source=192.168.xxx.xx,1433;Initial Catalog=CEUdev;Persist Security Info=True;User ID=xxx;Password=xxx>

Any ideas as to how to resolve this issue?

Thanks David L.


July 15th, 2015 11:51am

this error problem may occur if one or more of the following conditions is true:

  •     SQL Server is not configured to accept remote connections.
  •     The necessary protocols for SQL Server are not enabled on either the SQL Server computer

To enable the remote connections and protocols, please see this blog.



  • Edited by HoroChan 1 hour 5 minutes ago
Free Windows Admin Tool Kit Click here and download it now
July 16th, 2015 2:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics