I am writing my first ASP web page to use SQL Server 6.5. I have looked at
a number of sample pages and bought two books, but I can't open a
connection. I always get the error "ADO could not find the specified
provider." My web page, DSN definition and browser output are below. Can
anyone tell me what I may be doing wrong?
SQL Server 6.5 and IIS 4.0 are running on the same server. The SQL Server
is using NT integrated security and I am logged in as Administrator.
TIA
Bob
--------------------------------
<HTML>
<HEAD>
<TITLE>SQL Test</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
<%=Time%><BR>
<%
Set objConnection = Server.CreateObject("ADODB.Connection")
objConnection.Open "DSN=ARATest", "", ""
%>
</BODY>
</HTML>
--------------------------------
I created a System DSN using ODBC Data Source Administrator.
Microsoft SQL Server ODBC Driver Version 03.50.0305
Data Source Name: ARATest
Data Source Description: ARATest
Server: (local)
Database: TestDB
Language: (Default)
Translation Option: Automatic
Log Long Running Queries: No
Log Driver Statistics: No
Use Integrated Security: Yes
Use Regional Settings: No
Prepared Statements Option: Drop temporary procedures on disconnect
Use Failover Server: No
Use ANSI Quoted Identifiers: Yes
Use ANSI Null, Paddings and Warnings: Yes
--------------------------------
Here is what my browser displays:
12:43:00 PM
ADODB.Connection error '800a0e7a'
ADO could not find the specified provider.
/sql.asp, line 12