error in Bar News

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/70275?pagenum=1
05 November 2025, 06:46

Emne


top
error in Bar News
23 August 2012, 19:01


error in Bar News
Microsoft VBScript runtime

error '800a01f4'

Variable is undefined: 'conn_ACTIVE'
-------
code

Code:
	 <%
dim strConnString_ACTIVE
dim rs
dim topic_cnt,strSql

strConnString_ACTIVE ="DRIVER={MySQL ODBC 3.51 Driver}; SERVER=SERVER=000000000; DATABASE=00000000; USER=00000000000; PASSWORD=0000000000; OPTION=16387;"




set rs = Server.CreateObject("ADODB.Recordset")

strSql="SELECT FORUM_TOPICS.CAT_ID,FORUM_TOPICS.FORUM_ID,FORUM_TOPICS.TOPIC_ID, FORUM_TOPICS.T_SUBJECT FROM FORUM_TOPICS ORDER BY FORUM_TOPICS.T_LAST_POST DESC LIMIT 20"
' set rs = Conn.Execute (strSql)
rs.cachesize = 20
rs.open strSql, conn_ACTIVE, adOpenForwardOnly, adLockReadOnly, adCmdText

topic_cnt=1

%><marquee direction="right" scrolldelay="150">
<% do until rs.EOF
Response.Write "<a href='/forum/topic.asp?TOPIC_ID=" & rs("TOPIC_ID") & "' target='_blank' class='linkmid'> " & rs("T_SUBJECT") & "</a>"
%>
<font face=Webdings color=FF0000><</font>
<% rs.MoveNext
topic_cnt=topic_cnt + 1
if topic_cnt = 15 then
exit Do
end if
loop

rs.Close
set rs = nothing
conn_ACTIVE.close
Set conn_active = Nothing
%>
</marquee>

 

Svar ...


HuwR
24 August 2012, 02:06


change dim strConnString_ACTIVE
to dim conn_Active
top
24 August 2012, 15:14



Thank you for I have the same problem
dim conn_ACTIVE
dim rs
dim topic_cnt,strSql

DODB.Recordset error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

line 19
rs.open strSql, conn_ACTIVE, adOpenForwardOnly, adLockReadOnly, adCmdText
top
25 August 2012, 16:31


Awaiting help end this error after changing to new server
top
26 August 2012, 20:01


sad
Carefree
26 August 2012, 23:55


I'll take a look at it if I can find the mod.
top
28 August 2012, 20:24


Carefree
Thank you want a solution to this error or bar code News moving from left to right forum
top
30 August 2012, 11:05


sad
top
04 September 2012, 16:13


Wait a solution of senior officials
Carefree
04 September 2012, 18:13


I don't have the mod, so I cannot look at the code. I cannot help you.
© 2000-2021 Snitz™ Communications