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

Recordset closure error.

$
0
0
This is the 2nd time I have posted, not sure what happened to the first one?

I have a very simple file "closeconnection-process.asp. I insert it using #include and it is to close the recordset (rs) and the connection (Conn) and also to empty the variable values to restore space>

This is the simple code in the file:
<%
rs.close
Conn.close
Set rs = Nothing
Set Conn = Nothing
%>

This is the #include statement:

<!--#include virtual = "process/closeconnection-process.asp"-->

and this the error I continue to receive:

Microsoft VBScript runtime error '800a01a8'

Object required

/process/closeconnection-process.asp, line 6

Line 6 is the first code line (rs.close) (I have 5 blank lines) I know it is going to be either very simple or will be so convoluted that a fix will never be identified.

Thanks
dg

Viewing all articles
Browse latest Browse all 688

Trending Articles



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