perhaps stating the obvious, but did you enable the communication protocols in the SQL Server configuration tool? It normally is accessible either in the sql server application menu, or in the management console.
did you look whether the firewall is either off or allows the sql server ports?
is the Express instance really named “SQLEXPRESS”? it can be changed during install.
This is my connexion string that worked with a express server. I changed the tcp address etc. with generic stuff:
ConStr = "Provider=SQLNCLI11; Data Source = MyServer\\SQLEXPRESS; Initial Catalog = mydatabase; Uid=myUser; Pwd=mypassword; DataTypeCompatibility=80;" Note that I am using UID instead of User Id. But i believe both are accepted.
I had some issues connecting after a windows 10 update (was it the spring 2018 update?). It was later resolved by another update. Check whether one or the other computers needs updates.
lord knows
I get an exception of some kind but the IDE just shows up with nothing in the debugger
<https://xojo.com/issue/55901>
if i then hit resume there’s a message dialog that just say “connection failed” more or less
Restart VM
Restart Xojo
Changed connection string to
connectionString = “Provider=SQLOLEDB; Data Source=MSEDGEWIN10\SQLEXPRESS; Initial Catalog=Testing; User Id=IEUser; Password=Passw0rd!; Integrated Security=SSPI”
OR
connectionString = “Provider=SQLNCLI11;Data Source=MSEDGEWIN10\SQLEXPRESS; Initial Catalog=Testing; User Id=IEUser; Password=Passw0rd!; Integrated Security=SSPI”