Out Of Memory Error Using A WSC Component In ASP Page On IIS 5 On W2k Citrix Server
Can anybody shed any light on this issue ??? Or even ways of temporaily
getting around it ???
FISH is an ASP application which uses a WSC object called "finapps.fishapp"
to handle the requests to the database. The WSC is created in the GLOBAL.ASA
as a Session object using the following line:
The finapps.fishapp object creates an "ADODB.Connection" object that is held
open while the session is running, and the Session_OnEnd event should call a
method of that object that closes the connections
The website falls over only when there has been a period of inactivity
greater than the length of the session timeout, and also after there has
been a significant amount of traffic prior to this!
The problem we have only occurs for one of our clients, but occurs seemingly
randomly on all 4 of their servers. The returned results of the error are as
follows:
-----------------------------------------------
Active Server Pages error '8002802b'
Create object failed
An error occurred while creating object 'fish'.
Microsoft VBScript runtime error '800a0007'
Out of memory: 'fish'
//global.asa, line 36
------------------------------------------------
i am looking at the code it appears that "gPropKey.getstaticString" is some sort of function in it for calling the values of variables. I am hunting high and low to find where those variables are hidden but with no joy.
I am getting the following error from my ASP application: Microsoft VBScript runtime error '800a0007'
Out of memory: 'Server.CreateObject'
It always (as far as i have observed) occurs when i try to create a new ADODB.connection object in my cCon helper function (opening a connection and returning it):
Function cCon() Dim cnRet set cnRet = server.createobject("ADODB.Connection") 'This is where the error is thrown cnRet.connectionstring = GLB_CONSTR_DB cnRet.open Set cCon = cnRet End Function
The page that errors will typically call this function 6- 10times from different functions which handle their connections in this way: Code:
We are running asp (not asp.net) and vb com dll web sites on a machine which also has sql server 2000 sp3a running and uses Windows Server 2003. We recently migrated from Windows 2000 (same database) where we had no problems. However on the new machine, despite much being much more powerful and having the same usage, the box is periodically grinding to a halt. The cause seems to be sql server using excessive amounts of memory, it steadily builds up to after a reboot to a high level. This seems to point in the direction of a memory leak, is anyone aware of any such problems with asp/sql server on windows 2003 and how to diagnose/fix them. I am aware of some unclosed connections in the asp code and objects that have not be set to nothing but this did not seem to cause a problem in the old machine and it is not practical to fix them all in the short term. I thought it might be unclosed connections although when I looked at SQL Server:General Statistics and User Connections I did not seem to see a large or increasing number of connections.
I am hosting hundreds of websites on a webserver using a combination of sql and asp. SQL is on a different server. The web server is running win 2003 iis 6 with a single processor and 1 GB Ram. All websites are in 1 app pool.
I find that i get out of memory errors or no new sessions are created when the virtual bytes for an App pool starts to breach over 1500mb. So i recycle the App pool at a limit of 1500mb.
This leads to the app pool recycling 1-2 times a day. Typically the Private Bytes counter is saying 293mb and virtual bytes is 1438mb. I don't know whether this is a leak somewhere in ASP or normal with IIS but the virtual bytes only seems to increase over time and not stablise or go down as i would expect when users visit and leave a website.
I have a script that i use to let uses download files from the server. It uses the response.binarywrite method. If i download a large files (i.e. over 100mb) then i see a big jump in the virtual bytes that IIS allocates in the w3wp.exe process. This does not appear to go down after the file has been downloaded although Private Bytes goes up and then down initially. I was thinking that this may be a cause of the problem?!
....or maybe it is typical for these types of large scale ASP applications? Would increasing the main memory RAM to 2GB help in this situation. The main Physical Memory still reports about 300mb free when i get the memory problems?
Would it help to split the websites into a couple of different App Pools, then increase the page file size to something larger and hence each App pool gets to use a separate 2GB memory space? Would i benefit from moving to Windows 64bit edition and installing more Ram and having a large Page file to cope with the large Virtual Bytes?
Can anyone offer some guidance who have had similar issues with hosting their sites?
I get the following error message from an ASP page that we have:
METHOD: POST ERROR DESCRIPTION: 007~ASP 0100~Out of memory~Unable to allocate required memory. ERROR NUMBER: -2147024882 ERROR SOURCE: Response object
Does anyone out there have any ideas? Please let me know if you need any more information ... I am not sure why this message has suddenly started to pop up.
I checked the system logs and cannot see any particular memory loss related message so I don't know.
I have found this message in Event Viewer on my Windows 2000 server.
Error: File/Test/upload/upload.asp Line 85 Out of memory. Unable to allocate required memory..
It seems to be the cause of a problem I have had uploading and downloading files through an ASP page using Binary Stream Objects. Anyone got any ideas about how to solve this?
I'm creating some menus based on a recursive menu script I got from here
I have modified it to use a SQL database as well as a jquery nested menu which works similarly to suckerfish dropdowns.
What I want the script to do is to recursively go through the list and when there is a child display it. My version works just fine the first go around but then fails once it's called a second time.
I can't show you the link because it's on our internal server, but here is my code:
hosted on my own IIS while developing and had no problems, but since putting the site up onto an external ISP, we have been getting server errors when trying to access the default.asp page. Clicking refresh loads the page fine (but of course, new visitors don't know this!)The address of the site is http://betweenheavenandearth.ca . If you type this address into the address bar you may recreate the error (it doesn't always occur)
We're getting "ERROR (0x8007000E) Not enough storage is available to complete this operation" errors on a fairly large, busy ASP/SQL Server web site. The error is being thrown on a line calling oRs.GetRows() on one of our busiest pages. The array returned from the GetRows() call will be 'cleaned up' when the page goes out of scope, but I wonder if we should be calling Erase specifically after the last usage to explicitly free allocated memory. Is there any actual benefit doing this cleanup explicitly? I've always throught that ASP's memory deallocation was a bit spotty - can anyone comment.
Hey Im having a problem with this webpage, getting
Microsoft VBScript runtime error '800a0007' out of memory
The code includes a webgannt.asp and should work code below is sample code from the web. Have u any idea what is going wrong? I'm fairly new to ASP and havent seen this error before. ive marked line 108 FYI ....
We are receiving an error in our ASP website that used to run fine on our old servers but seems to be struggling on our new ones, I'm wondering if you've seen this error before?
Microsoft Cursor Engine error '8007000e'
Out of memory.
/oob/activities/default.asp, line 470
The last line that shows where the error happening is different on every page but it appears at the first database connection on each page.
The only way to get rid of the error and get the site working again is to recycle the application pool for the site (or restart IIS).
We have two servers, one running IIS and the other running MSSQL 2005. Both are the following specs:
Windows Server 2003 HP DL385 Single AMD Opteron / Dual Core 2214 4 GB DDR 146 GB SAS 146 GB SAS SCSI RAID controller
I'm completely lost on this one, as the code has not changed at all between old and new servers so there must be a config setting I've not migrated across somewhere.
The most bizarre thing is that other sites on the server are unaffected, once this out of memory error hits this site on the server all other sites still run and connect to the same database without any problems at all.
Is there a way I can use my custom dll just by placing it in the ASP folder and not having to use regsvr32 to register it? I takes forever to get our admins to do anything like this for us.
where I could get my hands on a good sample of an ASP 3.0 agile server component developed in VC++/ATL.Ideally, I am looking for a cache/dictionary/lookup object that can beassigned to the ASP application object, therefore the object is going to have to be either an MTA or a TNA.
My host offers the 'Persists ASP-Upload' component, but not the 'ASP-Jpeg' component. I can therefore allow users to upload images which can then be saved on the server.
What I need to do however, is resize their images before they are saved, so that their pixel dimensions are correct. Is there a way to do this without having the ASP-Jpeg (or similar) component installed on the server?
I am trying to monitor the number of visits on various Excel and HTML reports on our website. I would like to create a web page that has the various hit statistics for various URLs.
I thought I could use the Page Counter Component to do this using MyPageCounter.Hits(url);
but I cannot get it to work with any URL. I can get it to work with the page the code is located in if I do not specify a URL, but I cannot get it to work to keep track of the visits to other URLs, in this case Excel and HTML reports my business group maintains. Code:
I am writing a VB component. I want to make a request to hello.asp page from VB component. I am using Scriptinc Context for that. How can I make a request so that I can get a response back from my asp page...
So far I have written only these lines...
Dim ASPsc As ScriptingContext Set ASPsc = ASP_Scripting_Context
I am trying to monitor the number of visits on various Excel and HTML reports on our website. I would like to create a web page that has the various hit statistics for various URLs.
I thought I could use the Page Counter Component to do this using MyPageCounter.Hits(url);
but I cannot get it to work with any URL. I can get it to work with the page the code is located in if I do not specify a URL, but I cannot get it to work to keep track of the visits to other URLs, in this case Excel and HTML reports my business group maintains. Code:
I have been using the CDONTS component on Windows 2000 to send emails for a long time now (code below). However, over time, the report that I am sending has got rather longer and it now gives me an "unknown exception" error. However, I know that it's because there's now too much data (If I remove some of the text it goes fine). I've "compacted" the message as much as I can, but I've got up to the limit now of how much I can compact it by... I've tried to write it to a file and attach that, but the same size limit appears to hold for attachments too. What to do....?
I have a COM+ component created in Visual Basic 6 deployed on Windows Server 2003 acting as the IIS Server. The problem with the COM+ component is that now when starting the COM+ component, an error occurs stating:
========================================= Catalog Error ------------ An error occured while performing the last operation. Error code 8000FFFF - Catastrophic failure
The event log may contain additional troubleshooting information. =========================================
Please note that the Windows Server 2003 has automatic updates set ON, and the same COM+ component was working fine few days before. Code:
I have some ASP 3 pages that instantiate a COM component. That component writes messages to the one of the Windows event logs.
Things work as I expect them to on XP Pro but not on 2003 Server. I figured it was a security thing, so I surfed around and found that permissions were tightened in the server's first service pack. The fix I found[1] said to append an ACE[2] to the event log's CustomSD registry value found at
I created C# COM+ component. It has two overloaded methods - the method names are same and their signatures are different, one takes two parameters and another takes four. I coded this way: the method with 4 parameters is coded first and then the one with 2 parameters.
I created very simple ASP page to call these two methods. Calling the method with 4 params has no problem. However, calling the method with 2 params I get the error saying:
Error Type: Microsoft VBScript runtime (0x800A0005) Invalid procedure call or argument: 'SetReferenceValues' /suitevoyager/testLmx.asp, line 16
I have just inherited a web site with ASP coding. There is a contact form that when submitted sends an e-mail to the administrator. The site was on a Windows server and is now on a Apache *nix server using Sun ONE ASP. I've included the code and error I am receiving. Some suggestions/directions would be much appreciated.
I also have included the original error and line of code I changed it from in case it was necessary?
ERROR 1
CDONTS.NewMail.1 (0x80020009) Component is disabled /thankyou.asp, line 61
After server went down I got this error after submitting Membership form. (win2000, IIS 5.0, Access Database(mdb) ActiveX component can't create object Error Number =429