Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 error in Bar News

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
top Posted - 23 August 2012 : 19:01:04
error in Bar News
Microsoft VBScript runtime

error '800a01f4'

Variable is undefined: 'conn_ACTIVE'
-------
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>
9   L A T E S T    R E P L I E S    (Newest First)
Carefree Posted - 04 September 2012 : 18:13:18
I don't have the mod, so I cannot look at the code. I cannot help you.
top Posted - 04 September 2012 : 16:13:51
Wait a solution of senior officials
top Posted - 30 August 2012 : 11:05:59
top Posted - 28 August 2012 : 20:24:49
Carefree
Thank you want a solution to this error or bar code News moving from left to right forum
Carefree Posted - 26 August 2012 : 23:55:27
I'll take a look at it if I can find the mod.
top Posted - 26 August 2012 : 20:01:24
top Posted - 25 August 2012 : 16:31:50
Awaiting help end this error after changing to new server
top Posted - 24 August 2012 : 15:14:23

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
HuwR Posted - 24 August 2012 : 02:06:19
change dim strConnString_ACTIVE
to dim conn_Active

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07