The code below works fine on win 2003 server running SQL Express 2003 but it gives an error when I upgraded to Win 2011 SQL Express Server 2008 R2. I am stumped...
Error
ADODB.Connection error '800a0e7a'
Provider cannot be found. It may not be properly installed.
/apps/cs/login.asp, line 20
Code
set rs = Server.CreateObject ("ADODB.Recordset")
Set conn = Server.CreateObject("ADODB.Connection")
Conn.ConnectionString = "Provider=SQLNCLI;Server=SERVER\SQLEXPRESS;Database=GE_Data;Trusted_Connection=yes;"
Conn.Open
Error
ADODB.Connection error '800a0e7a'
Provider cannot be found. It may not be properly installed.
/apps/cs/login.asp, line 20
Code
set rs = Server.CreateObject ("ADODB.Recordset")
Set conn = Server.CreateObject("ADODB.Connection")
Conn.ConnectionString = "Provider=SQLNCLI;Server=SERVER\SQLEXPRESS;Database=GE_Data;Trusted_Connection=yes;"
Conn.Open