I have moved a site from a Window Server 2003 server to a Window Server 2008 server (64 bit). The site connects to a SQL Server 2005 database. I imported the database, and I am running it under SQL Server 2014 (64bit).
I have the IIS on the Window Server 2008 server running the site. The site runs in classic ASP. I am attempting to determine what connection object type I need to make the classic ASP website connect to the SQL Server 2014 database.
This is the old DSN:
Provider=sqloledb;Data Source=MYSERVER\SQLEXPRESS;Initial Catalog=theDatabase;User Id=myID;Password=password
Data Source
. You will also need to make sure you migrated or created the login.Data Source
. However, note that the legacySQLOLEDB
provider has been deprecated for several years in favor of SQL Server Native client. If you install the latest version (SQL Server Native Client 11.0) on the web server, you can change the provider specification toSQLNCLI11.1
along with the server name change.