Can ANYONE please tell me what is wrong with my code below. I keep getting an error saying:
"ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another."
My brain is melted at this stage :( Here is my ASP code:
<% if session("sessLevel") = "1" then
sql="SELECT * FROM Members WHERE Email = '" & session("Email") & "' AND Password = '" & session("Password") & "'"
end if
Set cnn1 = Server.CreateObject("ADODB.Connection")
cnn1.open MySite
Set rsOuter = Server.CreateObject("ADODB.RecordSet")
counter = 0
rsOuter.Open sql,cnn1,0,1
if NOT rsOuter.EOF then
%>
code here
<%
end if
set cnn1 = nothing
set rsOuter = nothing
%>