I tried this...
With my real ID and password and I get no records on the web page ... I tried calling this file "test.html", and "test.asp"
both with no luck. The table is there, the records are there, but nothing comes up!!!
I got the IIS package installed locally, and our web server runs IIS ???
Thanks,
Jon
Code:
<html>
<body>
<%
'---Dim the variables
Dim Conn
Dim rs
Set Conn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
Conn.Open "Driver={SQL Server};" & _
"Server=HERCULES;" & _
"Database=SPI;" & _
"UID=myID;" & _
"PWD=myPass;"
Set rs = Conn.Execute("SELECT * FROM Logins")
If(rs.eof) Then
Response.write("No Records Found")
End If
do until rs.eof
Response.write(rs("Name"))
rs.movenext
loop
rs.Close
Conn.Close
Set rs = nothing
Set Conn = nothing
%> HELLO
</body>
</HTML>
With my real ID and password and I get no records on the web page ... I tried calling this file "test.html", and "test.asp"
both with no luck. The table is there, the records are there, but nothing comes up!!!
I got the IIS package installed locally, and our web server runs IIS ???
Thanks,
Jon