?
Solved

Server.CreateObject failed on Windows 2003.

Posted on 2005-04-26
7
Medium Priority
?
271 Views
Last Modified: 2010-05-18
We have a web application that consists of ASP pages that instantiate an ATL COM Object to communicate with a Server application.  In our testing this is working great.  However, when it is deployed to the client server PC, which is running Windows 2003, it runs for a while and then the web server eventually crashes.  The nature of the failure is inconsistent -- sometimes the web server will simply stop responding and other times it will generate a message stating that Server.CreateObject failed (I'm waiting for the next failure to get the specific syntax of the error).  An "iisreset" command resurrects the application for a while but eventually it fails again.  Originally I thought this was due to a memory leak in our COM Object.  However, I've left it running for many hours on a Windows XP machine with multiple browsers running and making calls every few seconds.  TaskInfo indicates that memory usage is remaining unchanged and the application continues to respond even after 12 hours of usage.  It appears that the problem is environmental with the Windows Server 2003 machine.  I did find information on Microsoft.com regarding ASP/COM memory leaks but the hotfix that they prescribed is rolled into Service Pack 1, which is installed at the client site.  So I'm stumped.  Any advice is appreciated.
0
Comment
Question by:Xolutionz
  • 4
6 Comments
 
LVL 3

Expert Comment

by:NawalKishore1976
ID: 13867226
you need the proper permission to activate the com object.

Change the settings so that the IIS will run with the Administrator account.
0
 
LVL 1

Author Comment

by:Xolutionz
ID: 13867354
If we didn't have the proper permissions in place then it seems like it would never work.  Instead, it works for a while and then quits.  The function calls within the COM Object are the same when it works and when it fails, so I don't think it's a permissions problem.  Would a permissions problem allow it to work sometimes and not others?
0
 
LVL 1

Author Comment

by:Xolutionz
ID: 13918344
Following is the message that it generates when it crashes:

================================
 Server object error 'ASP 0177 : 8007000e'

Server.CreateObject Failed

Login.asp, line 101

8007000e
================================

When this occurs we must restart the web server.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Author Comment

by:Xolutionz
ID: 14031977
This turned out to be a memory leak that I found and fixed.  Moderator: please close this thread.
0
 
LVL 1

Author Comment

by:Xolutionz
ID: 14188365
This turned out to be an exception within the COM Object that was exposed only on the target machine.  It is now fixed.  This thread should be closed.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14219716
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Industry Leaders: 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

In this post we will learn different types of Android Layout and some basics of an Android App.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Introduction to Processes

850 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