Help and Support

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

Article ID:198432
Last Review:July 8, 2005
Revision:3.3
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.

Back to the top

CAUSE

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

Back to the top

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.

Back to the top

STATUS

This behavior is by design.

Back to the top


APPLIES TO
Microsoft Active Server Pages 4.0
Microsoft Internet Information Server 4.0
Microsoft Internet Information Services 5.0

Back to the top

Keywords: 
kberrmsg kbsecurity kbprb KB198432

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.