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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Existing Board..Very Strange Error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mythrasus
Starting Member

2 Posts

Posted - 11 December 2001 :  04:27:59  Show Profile  Send mythrasus an AOL message  Send mythrasus a Yahoo! Message
Hi,

I have a board thats been running fairly error free for the last couple of months, then all of a sudden my users start getting this following error:


error '80020009'
Exception occurred.

/forums/inc_functions.asp, line 1298


The error stops the users seeing any of the available forums, however I've found clicking the Active Topics link then the All Forums brings it all back without errors.

I would be really gratefull if anyone has any clus how to fix this, I havent changed or added anything recently in fact nothing since the board went live.

Thanks in advance

Andrew



Davio
Development Team Member

Jamaica
12217 Posts

Posted - 11 December 2001 :  04:31:50  Show Profile
Well, now that you have given us the error, you can now give us some more information so we can help you.

What is on your line 1298 in your inc_functions.asp file? And can you also post 10 lines before that?
What version of the forums are you using?

- David
Go to Top of Page

mythrasus
Starting Member

2 Posts

Posted - 11 December 2001 :  04:52:30  Show Profile  Send mythrasus an AOL message  Send mythrasus a Yahoo! Message
Sorry, I missed that, again thanks in advance, I'm using version 3.3

Heres the function call:



function chkDisplayForum(fForum_ID)

dim strSql
dim rsAccess

if (mlev = 4) then
chkDisplayForum= true
exit function
end if

'## Forum_SQL - load the user list
strSql = "SELECT " & strTablePrefix & "FORUM.F_PRIVATEFORUMS, " & strTablePrefix & "FORUM.F_PASSWORD_NEW "
strSql = strSql & " FROM " & strTablePrefix & "FORUM "
strSql = strSql & " WHERE FORUM_ID = " & ChkString(fForum_ID, "SQLString")

Set rsAccess = Server.CreateObject("ADODB.Recordset")
rsAccess.open strSql, my_Conn

select case rsAccess("F_PRIVATEFORUMS")


The last line in bold is the error line: Lines after that are

case 0, 1, 2, 3, 4, 7, 9
chkDisplayForum = true
rsAccess.close
set rsAccess = nothing
exit function

case 5
UserNum = getNewMemberNumber()
if UserNum = - 1 then
chkDisplayForum = false
rsAccess.close
set rsAccess = nothing
exit function
else
chkDisplayForum = true
rsAccess.close
set rsAccess = nothing
exit function
end if

case 6
UserNum = getNewMemberNumber()
if UserNum = - 1 then
chkDisplayForum = false
rsAccess.close
set rsAccess = nothing
exit function
end if
MatchFound = isAllowedMember(fForum_ID,UserNum)
if MatchFound = 1 then
chkDisplayForum = true
Else
chkDisplayForum = false
end if

case 8
chkDisplayForum = false
if strAuthType ="nt" THEN
NTGroupSTR = Split(strNTGroupsSTR, ", ")
for j = 0 to ubound(NTGroupSTR)
NTGroupDBSTR = Split(rsAccess("F_PASSWORD_NEW"), ", ")
for i = 0 to ubound(NTGroupDBSTR)
if NTGroupDBSTR(i) = NTGroupSTR(j) then
chkDisplayForum = true
rsAccess.close
set rsAccess = nothing
exit function
end if
next
next
End if

case else
chkDisplayForum= true
end select

rsAccess.close
set rsAccess = nothing

end function


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07