CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 bug in classes.asp, version 3.1

Print topic Send  topic

Author Message
epidos

Posts: 20
Posted: 10/30/2006, 7:53 PM

After upgrading to 3.1, parts of one of my project that was working has stopped to work. The search is not working on some pages (no result shown), even if it is standard search generated by code builders. A report is not working, also generated by builder and even a search form works for 1 field but generates error on the other field.
All of these pages, return the same error:

Error Type:
ADODB.Recordset (0x800A0E78)
Operation is not allowed when the object is closed.
/Adera/Classes.asp, line 3319

Which is this line: If Not IsEmpty(mCountSQL) And Len(CountSQL) = 0 And NOT DataSource.Recordset.EOF Then


Any idea what is wrong and how to fix it?
View profile  Send private message
Oper


Posts: 1195
Posted: 10/31/2006, 6:17 AM

I reported that error like 1 month ago

havent got any answer yet, but that only happend when some project was converted, and for some reason a search narrow to an emtpy Datasource.

Right now not at the office but i will post you a quick FIX.

(also i see they changed a bit the code in 3.1 but still)

BTW i havent changed to 3.1 yet till next weekend. we have huge important presentation this Saturday.

_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
epidos

Posts: 20
Posted: 10/31/2006, 4:09 PM

Quote Oper:
I reported that error like 1 month ago

havent got any answer yet, but that only happend when some project was converted, and for some reason a search narrow to an emtpy Datasource.

Right now not at the office but i will post you a quick FIX.

(also i see they changed a bit the code in 3.1 but still)

BTW i havent changed to 3.1 yet till next weekend. we have huge important presentation this Saturday.



You are right. The problem is with older projects that is opened with 3.1. I deleted all the the where conditions in grid form, deleted the search form and generated a new search form and it started to work. It is unnecessary work but at least it is fixable.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.