SO I am using the same ASP coding I have always used, and I am now running into an unknown error. The error is as follows:
line 153 is
here is the connection info for SQL db
then of course i have the include
at the top of the page. Any ideas here?
Code:
Microsoft VBScript runtime error '800a01a8'
Object required
/personal_stats.asp, line 153
Code:
set stats1 = conn.execute("select count(id) as cnt1 from _scores where id = "&userid2&"")
the ID field is a number. I am trying to cound the number of times a user has made an entry. I have done this numerous times before but now I am getting this error.
Code:
<%
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open = "Provider=sqloledb; Data Source=dbs5.myhost.com ; Initial Catalog=dbname; User Id=myusername; Password=mypassword; Connect Timeout=60"
%>
Code:
<!--#include file="connection.asp"-->