Microsoft Knowledge Base Email Alertz

KBAlertz.com: (198432) - When instantiating a COM component in an Out-Of-Process Server (EXE) from Active Server Pages (ASP), the following error may occur: Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error testOOP.asp, line 12 The call to...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **


Community Site



We Send hundreds of thousands of emails using ASP.NET Email


ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 198432 - Last Review: July 8, 2005 - Revision: 3.5

PRB: Server Object Error 'ASP 0178' Instantiating COM Object

This article was previously published under Q198432

SYMPTOMS

When instantiating a COM component in an Out-Of-Process Server (EXE) from Active Server Pages (ASP), the following error may occur:
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
testOOP.asp, line 12
The call to Server.CreateObject failed while checking permissions.
Access is denied to this object.

CAUSE

Appropriate permissions to access and launch the Out-Of-Process (OOP) COM object has not been set.

RESOLUTION

You need to give the IUSR_<machine_name> account permissions to launch and access your OOP COM object using dcomcnfg by doing the following:
  1. Launch DCOMCNFG by clicking the Start button, selecting Run, and typing "Dcomcnfg" in the Run dialog box.
  2. In the Default Security tab, click the "Edit Default" in the "Default Access Permissions" frame. The Registry Value Permissions dialog box appears.
  3. Add the IUSR_<machine_name>account and the INTERACTIVE account to the Registry Value Permissions dialog box, and click OK.
  4. In the Default Security tab, click the Edit Default in the Default Launch Permissions frame. The Registry Value Permissions dialog box appears.
  5. Add the IUSR_<machine_name> account to the Registry Value Permissions dialog box0, and click OK.

STATUS

This behavior is by design.

APPLIES TO
  • Microsoft Active Server Pages 4.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
Keywords: 
kberrmsg kbprb kbsecurity KB198432
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please