I have to update a very old site using classic ASP and SQLOLEDB
but the connection to SQL Server doesn't work using SQL Server 2014.
It works for my client using SQL Server 2008 R2, but it doesn't work for me using SQL Server 2014.
The obvious answer is to install SQL Server 2008 R2 locally, however the entire setup can take quite some time.
Is there some SQL Server 2014 setting that I am missing?
This is my connection string:
"Provider=SQLOLEDB.1;Persist Security Info=False;User ID=myUser;PASSWORD=123456;Initial Catalog=myCatalog;Data Source=localhost;Network Library=DBMSSOCN"
The error I get is:
Microsoft OLE DB Provider for SQL Server error '80004005'
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
I can connect to that server using SQL Server Management Studio with that password and user. And that connection string works fine if the Instance is SQL Server 2008 R2. So there must be a difference between 2014 and 2008 R2.