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)
 Exception error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Morpheus73
Average Member

Denmark
597 Posts

Posted - 29 May 2002 :  10:47:08  Show Profile
I get this error...


Error Type:
Microsoft VBScript runtime (0x800A01FB)
An exception occurred: 'my_Conn.Execute'
/snitztest/inc_functions.asp, line 2156


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 1.0.3705)

Page:
GET /snitztest/usergroups.asp

Time:
Wednesday, May 29, 2002, 4:39:01 PM


More information:
Microsoft Support

using the following function:


Function IsGroupParentAdmin(GroupID)




strSql2 = "SELECT USERGROUP_PARENT,USERGROUP_ID FROM " & strMemberTablePrefix & "USERGROUPS "
strSql2 = strSql2 & "WHERE USERGROUP_ID = " & GroupID
set rsSubGroupsD = my_Conn.execute(strSql2)


If Not RsSubGroupsD.EOF Then

Do Until RsSubGroupsD.EOF

CurrentGroupID = rsSubGroupsD("USERGROUP_ID")

strS = "SELECT USERGROUP_ADMIN FROM " & strMemberTablePrefix & "USERGROUPS "
strS = strS & "WHERE USERGROUP_ID = " & CurrentGroupID
strS = strS & " AND USERGROUP_ADMIN = " & MemberID
set rsGroupS = my_Conn.execute(strS)
'## if member exists in this group then access is allowed, return value of 1

if not rsGroupS.bof and not rsGroupS.eof then
IsGroupParentAdmin = 1
end if


IsGroupParentAdmin(CurrentGroupID)
RsSubGroupsD.MoveNext
Loop

End If

Set RsSubGroupsD = Nothing

End Function


any ideas why? - it´s a loop to determin adminstatus in groups tree going back through tree

  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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07