Hello,
I am trying to write a holding page that will track who has open the site. The table is
access and is called
"tracking". I have a system DSN setup that I have used to query another table so I believe that is working Fine.
The code at present looks like this:
<%
Dim StrConn, objConn, objRS, strSQL
strConn="DSN=FranticStar"
set objConn = server.CreateObject("ADODB.Connection")
objConn.Open strConn
set objRS = server.CreateObject("ADODB.recordset")
objRS.Open "tracking",objConn
objRS.AddNew
objRS.Fields("Time") = "#" & now & "#"
objRS.Fields("ip") = "'" & request.servervariables("remote_addr") & "'"
objRS.Fields("user") = "'" & Request.ServerVariables("LOGON_USER") & "'"
objRS.Update
objRS.Close
set objRS=nothing
objConn.Close
set objConn=nothing
%>
<P align=center> </P>
<P align=center> </P>
<P align=center><IMG src="images/FranticStar.jpg" width="353" height="50"
></P>
<P align=center>Cooming Soon</P>
</BODY>
</HTML>
However I get :
The page cannot be displayed message! :(
Can anyone help?
www.franticstar.co.uk