Home | Advertising Info4 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: max number of cursors exceeded in oracle
From: wanker8000
Date: 8/29/2001 9:41:31 AM
IP: 65.105.120.2



 

I have a situation where I'm calling an Oracle stored procedure many times in a loop on an ASP page. The procedure is called using the ADODB.Command object. I find that if I create the object using the Server.CreateObject call, Oracle will return a message indicating that the max number of open cursors has been exceeded; after running 99 iterations through the loop. If I create the object using CreateObject (without the Server.), I don't get this error. Any idea why the command object is being kept open in the first case?

Here are the two different versions of the call:

for i = 1 to 900

'causes error:
set cmd=Server.CreateObject("ADODB.Command")
'does not cause error:
'set cmd=CreateObject("ADODB.Command")

'...
with cmd
.ActiveConnection = cnx
.CommandType = 4
.CommandText = "p_test_procedure"
.Execute
end with

set cmd = nothing
next


I'm using IIS 4.0. Is there a way to get the Server object to release these cursors? Thanks...

-w8k


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com