I cant seem to see what the heck is wrong with my code. Im just trying to connect to the database and display some information. IE keeps telling me that line 17 has problems which is the DBConn.Open "DSN=JobFiles" line. Heres the VBScript that I have in there. If anyone has any inkling to whats wrong let me know please.
<%
Dim DBConn
Dim recordSet
Set DBConn = Server.CreateObject("ADODB.Connection"
DBConn.ConnectionTimeout = 60
DBConn.Open "DSN = JobFiles"
Set recordSet = Server.CreateObject("ADODB.Recordset"
recordSet.Open "SELECT * FROM Jobs", DBConn
Do While NOT recordSet.EOF
Response.Write(recordSet("NAME")
Response.Write("<BR>"
recordSet.MoveNext
Loop
DBConn.Close
Set DBConn = Nothing
%>
gnibbles
nturpin@excite.com
<%
Dim DBConn
Dim recordSet
Set DBConn = Server.CreateObject("ADODB.Connection"
DBConn.ConnectionTimeout = 60
DBConn.Open "DSN = JobFiles"
Set recordSet = Server.CreateObject("ADODB.Recordset"
recordSet.Open "SELECT * FROM Jobs", DBConn
Do While NOT recordSet.EOF
Response.Write(recordSet("NAME")
Response.Write("<BR>"
recordSet.MoveNext
Loop
DBConn.Close
Set DBConn = Nothing
%>
gnibbles
nturpin@excite.com