Solved

Server.CreateObject failed  - Out of memory

Posted on 2004-08-11
7
1,139 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

626 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