shaunsizen
New member
- Local time
- Today, 16:36
- Joined
- Feb 26, 2024
- Messages
- 4
Hi
Got a brain teaser here, just upgrading a client app to use TLS so ODBC v18 driver, the code drops and relinks the DB from the client to SQL Server. Connection string works fine when its the base code but fails when I compile it!!
Any ideas?
This is my string (I will be taking TrustServerCertificate=True out for prod but wanted to make sure its not that)
strConnect = "ODBC;DRIVER=ODBC Driver 18 for SQL Server;Server=" & strServerName & ";UID=SAC_User;PWD=sac;DATABASE=" & strDatabase & ";Network=DBMSSOCN;PORT=1499"
strConnect = strConnect & ";iTrustServerCertificate=True;Trusted_Connection=Yes;Encrypt=True"
Any ideas? I am running 365 on 64Bit
Got a brain teaser here, just upgrading a client app to use TLS so ODBC v18 driver, the code drops and relinks the DB from the client to SQL Server. Connection string works fine when its the base code but fails when I compile it!!
Any ideas?
This is my string (I will be taking TrustServerCertificate=True out for prod but wanted to make sure its not that)
strConnect = "ODBC;DRIVER=ODBC Driver 18 for SQL Server;Server=" & strServerName & ";UID=SAC_User;PWD=sac;DATABASE=" & strDatabase & ";Network=DBMSSOCN;PORT=1499"
strConnect = strConnect & ";iTrustServerCertificate=True;Trusted_Connection=Yes;Encrypt=True"
Any ideas? I am running 365 on 64Bit