Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

Frustrating recordset close error

$
0
0
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

Viewing all articles
Browse latest Browse all 688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>