Author |
Topic |
Eye4Design
Starting Member
20 Posts |
Posted - 23 August 2000 : 10:26:12
|
When you are deleting all the forms and categorys then you get an error message:
Error Type: (0x80020009) Exception occurred. /sitezine/forum/inc_functions.asp, line 508
This message go away when you make one forum,catogry and one message!!!
Really strange i think
Is there an solution for this
Peter
Moved here by Gor... Can this be confirmed as a bug ??
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 26 October 2000 : 07:19:56
|
I have had a similar problem:
When I tried to delete a forum i get the message:
All Forums error '80020009' Exception occurred.
/forum.asp, line 209
Any help would be appreciated.
KatsKorner
Edited by - Kat on 26 October 2000 07:20:16 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 26 October 2000 : 07:27:21
|
You must have at least one category and topic.
'Resistance is futile' |
|
|
Reinsnitz
Snitz Forums Admin
USA
3545 Posts |
Posted - 26 October 2000 : 14:08:44
|
Category and Topic FORUM
Reinsnitz (Mike) ><)))'>
"I no longer call you servants, because a servant does not know his master's business. Instead I have called you friends..." -- John 15:15 |
|
|
Reinsnitz
Snitz Forums Admin
USA
3545 Posts |
Posted - 26 October 2000 : 14:09:31
|
it would probably be a good idea to get the code working without this bug... it would be a more proffessional touch :)
Reinsnitz (Mike) ><)))'>
"I no longer call you servants, because a servant does not know his master's business. Instead I have called you friends..." -- John 15:15 |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 14 November 2000 : 09:17:29
|
Any progress on sorting this?
KatsKorner |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 14 November 2000 : 09:30:36
|
Actually, you only need to keep one category, it is perfectly safe to delete all the forums.
'Resistance is futile' |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 14 November 2000 : 09:39:03
|
Ok so I have a category with a forum in it with no topics. I then delete the forum and refresh the page. It then throws the following error:
error '80020009' Exception occurred.
/forums/forum.asp, line 212
I know why it throws the error:
rsFStatus.EOF is TRUE so the exception occurs. I am in the process of trying to fix it.
KatsKorner |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 14 November 2000 : 09:41:59
|
I just deleted all the categories and forums in my test site, no problems at all, it just says No Categories/Forums found. No errors.
'Resistance is futile' |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 14 November 2000 : 09:44:31
|
Try this then:
create a new forum under a category. go into the forum and delete it from there. then hit refresh and see whether you get the same error in forum.asp.
if not can I have your forum.asp code?
cheers..
KatsKorner |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 14 November 2000 : 09:55:29
|
I have fixed mine by adding the following code to forum.asp after the </script> tag.
<%if rsCStatus.EOF = true OR rsFStatus.EOF = true then Response.Redirect("default.asp") end if %>
I don't know if this is the best way but it seems to work...
KatsKorner
Edited by - kat on 14 November 2000 09:56:22 |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 14 November 2000 : 12:45:57
|
You're right, your code looks ok. It depends wether you might want to display a message saying There are no forums and then redirect.
'Resistance is futile' |
|
|
gor
Retired Admin
Netherlands
5511 Posts |
Posted - 14 November 2000 : 13:53:27
|
I think it is ok the way Kat coded it, it acts the same way as topic.asp: if you don't supply the right data there you are redirected top default.asp without any message also.
Kat, thanks for bumping this post, because you explained a scenario we never would have tested otherwise !
Pierre Gorissen
Even if you're on the right track, you'll get run over if you just sit there. Will Rogers |
|
|
davemaxwell
Access 2000 Support Moderator
USA
3020 Posts |
Posted - 15 November 2000 : 08:37:34
|
Seems to me either a)we shouldn't have the delete forum option in forum.asp or b)we should include Kat's code to handle that situation.
Good eye, Kat!! That's not something I would have thought to try...
Dave Maxwell -------------- When's the next meeting of Snitzaholics Anonymous |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
Posted - 15 November 2000 : 08:40:40
|
My pleasure! Glad I spotted it first because my boss would have got there anyway!
KatsKorner
Edited by - kat on 15 November 2000 08:41:26 |
|
|
Reinsnitz
Snitz Forums Admin
USA
3545 Posts |
Posted - 05 January 2001 : 15:29:32
|
<- bump -> was this done?
Reinsnitz (Mike) ><)))'> "The glory of young men is their strength, and the honor of old men is their gray hair." - Proverbs 20:29
|
|
|
Topic |
|