Print Page | Close Window

Operation is not allowed when the object is closed

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=18857
Printed Date: 12 April 2026 at 8:57pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Operation is not allowed when the object is closed
Posted By: Scotty32
Subject: Operation is not allowed when the object is closed
Date Posted: 22 March 2006 at 1:15pm
when setting up a test forum of WebWizForum 8

i have no tables or records or anything, just a blank database

Originally posted by Error Error wrote:

Server Error in Forum Application
An error initialising Global Variables from database.
Please contact the forum administrator.

Support Error Code:- err_SQLServer_getForumConfigurationData()_get_global_variables
File Name:- global_variables.asp

Error details:-
ADODB.Recordset
Operation is not allowed when the object is closed.


since it said "Operation is not allowed when the object is closed."
i thought you (borg) might want to see it

if its due to me not having any tables or anything, delete the post

but even if i have a blank database, i wouldnt expect to get that error


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .



Replies:
Posted By: WebWiz-Bruce
Date Posted: 22 March 2006 at 1:22pm
This error is coursed by not having anything in the database.

You get the 'Operation is not allowed when the object is closed.' error becuase 'On Error Resume Next' is used so that error handling is done by the forums own code.

This way I hopefully won't get lots of people with 500 Internal server errors being told to disable friendly HTTP error messages, and also thhe error code 'err_SQLServer_getForumConfigurationData()_get_global_variables' means something to me to help with support.

I will eventually make an FAQ with what each error message means, and why the user maybe getting the error.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net