Solved

Server.CreateObject failed  - Out of memory

Posted on 2004-08-11
7
1,128 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

751 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