scripter50
IS-IT--Management
I'm trying to get a connection to a local MS Access from an ASP page, but getting a "Data Source Name cannot be found.." This is just for development.
System DSN is named "Image", no userid or pwd set:
set conn = Server.CreateObject("ADODB.Connection")
conn.open "DSN = Image"
sql = "SELECT * from contacts"
set rs = conn.execute(sql)
if not rs.eof then
sFirst = rs("first")
end if
set rs = nothing
I've tried DSN & DSNless, but no luck! Any ideas?
Thanks in advance,
scripter50
System DSN is named "Image", no userid or pwd set:
set conn = Server.CreateObject("ADODB.Connection")
conn.open "DSN = Image"
sql = "SELECT * from contacts"
set rs = conn.execute(sql)
if not rs.eof then
sFirst = rs("first")
end if
set rs = nothing
I've tried DSN & DSNless, but no luck! Any ideas?
Thanks in advance,
scripter50