I am using Legacy ASP and from some reason it printed the following error:
Response object error 'ASP 0185 : 8002000e'
Missing Default Property
/ASP/login.asp, line 0
A default property was not found for the object.
The code I use is the following:
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<body>
<%
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("../database/userDatabase.accdb")
dim username
dim password
dim SQLString
dim usernameSQL
dim passwordSQL
dim emailSQL
username = request.QueryString("username")
password = request.QueryString("password")
SQLString = "SELECT password FROM userDatabase WHERE (username = '" & username &"');"
response.write(SQLString & " ")
response.write(username & " ")
response.write(password)
passwordSQL = conn.execute(SQLString)
response.write(passwordSQL)
conn.Close
Set conn = nothing
if no = 123 then
End if
%>
</body>
</html>
Since it's my first time using ASP and I took most of the code from here (StackExchange) I don't really know what to do. If anyone can help me please that would be amazing.
Thanks in advance.