Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 error in Bar News
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

top
Junior Member

150 Posts

Posted - 23 August 2012 :  19:01:04  Show Profile  Reply with Quote
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>

Edited by - top on 23 August 2012 19:01:55

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 24 August 2012 :  02:06:19  Show Profile  Visit HuwR's Homepage  Reply with Quote
change dim strConnString_ACTIVE
to dim conn_Active

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

top
Junior Member

150 Posts

Posted - 24 August 2012 :  15:14:23  Show Profile  Reply with Quote

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
Go to Top of Page

top
Junior Member

150 Posts

Posted - 25 August 2012 :  16:31:50  Show Profile  Reply with Quote
Awaiting help end this error after changing to new server
Go to Top of Page

top
Junior Member

150 Posts

Posted - 26 August 2012 :  20:01:24  Show Profile  Reply with Quote
Go to Top of Page

Carefree
Advanced Member

Philippines
4217 Posts

Posted - 26 August 2012 :  23:55:27  Show Profile  Reply with Quote
I'll take a look at it if I can find the mod.
Go to Top of Page

top
Junior Member

150 Posts

Posted - 28 August 2012 :  20:24:49  Show Profile  Reply with Quote
Carefree
Thank you want a solution to this error or bar code News moving from left to right forum
Go to Top of Page

top
Junior Member

150 Posts

Posted - 30 August 2012 :  11:05:59  Show Profile  Reply with Quote
Go to Top of Page

top
Junior Member

150 Posts

Posted - 04 September 2012 :  16:13:51  Show Profile  Reply with Quote
Wait a solution of senior officials
Go to Top of Page

Carefree
Advanced Member

Philippines
4217 Posts

Posted - 04 September 2012 :  18:13:18  Show Profile  Reply with Quote
I don't have the mod, so I cannot look at the code. I cannot help you.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.59 seconds. Powered By: Snitz Forums 2000 Version 3.4.07