[thelist] Beginner's ASP...

Beau Hartshorne beau at gohothouse.com
Thu Apr 12 13:02:19 CDT 2001


Hi,

I am trying to execute this code:

<%
Dim oConn

Set oConn = Server.CreateObject("ADODB.Connection")

oConn.Open "DSN=Education"

oConn.Close

%>

On the Northwind Database (which has been renamed Education.mdb, and placed
in a directory outside of htdocs, and set up as a System DSN by my ISP).
However, I get this error when I try to access the DSN using the code above:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Not a valid password.

/index.asp, line 6 

The ISP tells me that they've had other (more experienced) users upload
their databases, have DSNs set up for them, and have their ASP pages access
these databases with no problem.

What's wrong with me!?!

Thanks,

Beau





More information about the thelist mailing list