Solved

Server.CreateObject failed  - Out of memory

Posted on 2004-08-11
7
1,120 Views
Last Modified: 2009-01-20

I am getting the following error on one of my ASP pages:


Microsoft VBScript runtime error '800a0007'
Out of memory: 'CreateObject'

i have searched and cannot find an answer that fixes my problem. I am not using any database in this page so i know its not related ot ADO. The line that throws the error reads as follows:

Set NWDir1= CreateObject("NWDirLib.NWDirCtrl.1")

I created a .vbs file and ran the exact code in a console window and had no problems. This same asp page works on my 2000 box but when i run it on 2003 server it just gives me this error.
0
Comment
Question by:bolesj
7 Comments
 
LVL 15

Expert Comment

by:joeposter649
ID: 11775396
I suspect it's a permissions problem.  Probably NWDirCtrl has a constructor method that isn't handling the permissions error correctly.
Can you change IIS to run under your ID and see if it works?
Maybe the event logs would show the error.
0
 
LVL 1

Author Comment

by:bolesj
ID: 11775620

When you say "Can you change IIS to run under your ID and see if it works?" are you taking about

1) Authentication Methods -> "Use the following Windows user Account for anonymous access:" ?
  - or -
2) Changing the "World Wide Web Publishing Service" (service name 'w3svc')  Log On  info from Local System Account to My account?

I have tried #1 but have not tried #2.

0
 
LVL 15

Expert Comment

by:joeposter649
ID: 11775857
I meant #1.  Did you check the event logs?
Probably not your problem but you should be using Server.CreateObject("NWDirLib.NWDirCtrl.1")
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 1

Author Comment

by:bolesj
ID: 11776075

Event logs have NOTHING !

When i use Server.CreateObject i get the following error which seems to be very similar to the fore mentioned one.

Server object error 'ASP 0177 : 8007000e'
Server.CreateObject Failed
8007000e

I even tried putting the Iuser_machine user into the Adminsitrators group and i have not seen any change.
0
 
LVL 1

Author Comment

by:bolesj
ID: 11777600

Updated IIS config to run WWW service in 5.0 isolation mode and now everything works.

WHat does this do? What does this mean as far as security and what have i done?

Points go to the person that gives me the cliff notes version and not just a link to the MS site......
0
 
LVL 6

Expert Comment

by:masirof
ID: 12728768
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
PAQ - Refund

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

masirof
EE Cleanup Volunteer
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12752382
PAQed with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Update field in order 21 148
format nvarchar field as mm/dd/yyyy 4 78
Use a variable for Class Name in Classic ASP 4 61
Asp in script 6 39
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question