Print Page | Close Window

"Operation is not allowed" error

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=13916
Printed Date: 30 March 2026 at 1:11pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: "Operation is not allowed" error
Posted By: ub3rl337ch3ch
Subject: "Operation is not allowed" error
Date Posted: 20 February 2005 at 7:30pm
I'm attempting to create a simple datasheet, and the formatting works fine, but when I attempt to connect it to the database, i get a "Operation is not allowed when the object is closed" error. The problem is, it doesn't tell me what line it is. I was wondering if you guys know of any bugs that might make this happen, and/or how to fix it. Much appreciated.



Replies:
Posted By: dj air
Date Posted: 20 February 2005 at 7:57pm
you have te connection to the database closed. this has been closed before the execution is done.. you need to look for a db connection.clsoe and see if any queries etc are done after it.

there should be a connection closure then a qyery.. the connection is not records set but for example adoCon


Posted By: ub3rl337ch3ch
Date Posted: 20 February 2005 at 8:09pm
No, sadly thats not it... I open the connection right at the start of the asp, and i didn't even close it... I just checked the error again, and i missed that its a "ADODB.Field (0x80020009)" error. Was wondering if that might have anything to do with the table.fields code i've been using with the table.addnew?



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