Solved

Server.CreateObject failed  - Out of memory

Posted on 2004-08-11
7
1,101 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now