I'm building up a new machine with Windows10 and SQL Server 2017 and am having a hard time getting my legacy ASP applications to connect properly.
The Connection string looks like this:
"driver={SQL Server};uid=USERNAME;pwd=PASSWORD;server=LocalServer;Database=LocalDB;"
I'm able to connect with a connection string like this:
"Provider=SQLNCLI11;Server=LocalServer;Database=LocalDB;Integrated Security=SSPI;DataTypeCompatibility=80;MARS Connection=True;"
... but that causes a bunch of errors with the way the existing code and how it interacts with Stored Procs so I'm trying to get the first connection string to work.
The error I get with that string is this:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][Shared Memory]SSL Security error
/Codeshare/ServerSide/conx_current.asp, line 8
That code looks like this:
dim sqlconn
set sqlconn = server.CreateObject("ADODB.CONNECTION")
dim cn : cn = getConx("current")
sqlconn.open cn
... where getConx("current") just returns the Connection String from above
If it helps, I get the same error message if I try to create an ODBC connection using the SQL Server or SQL Server Native Client 11.0 drivers.
TIA