I have a very simple file "closeconnection-process.asp" that is inserted using #include, to close the recordset (rs), close the connection (Conn) and then empty to free up space.
<%
rs.close
Conn.close
Set rs = Nothing
Set Conn = Nothing
%>
I use this to insert into active page:
<!--#include virtual = "process/closeconnection-process.asp"-->
and I get the following error:
Microsoft VBScript runtime error '800a01a8'
Object required
/process/closeconnection-process.asp, line 6
<%
rs.close
Conn.close
Set rs = Nothing
Set Conn = Nothing
%>
I use this to insert into active page:
<!--#include virtual = "process/closeconnection-process.asp"-->
and I get the following error:
Microsoft VBScript runtime error '800a01a8'
Object required
/process/closeconnection-process.asp, line 6