Solved

COM Error Access Denied 0x8004005

Posted on 1999-01-22
1
522 Views
Last Modified: 2013-12-28
Trying to create an Access.application.8 object using Cold Fusion. It works fine if the Cold Fusion service is running under the 'system account'  or the built in 'Administrator' account. It fails when runningthe service under any other account, even though the other accounts belong to the 'Administrators' group.  All accounts are local.  NT 4.0 sp3, Option Pack, IIS 4.0, CF 4.0 enterprise.  Same setup two boxes.  One box is a PDC, other is 'member' server on totally different network.

I have also tried explicitly setting launch and access permission on the COM object through oleview.

Any takers?

'\0'
0
Comment
Question by:NullTerminator
1 Comment
 
LVL 15

Accepted Solution

by:
ozymandias earned 100 total points
ID: 1797733
Here's a snippet from Technet article Q180119 :


CAUSE
=====
 
Microsoft Transaction Server (MTS), core components installed with IIS, requires that the default Distributed COM (DCOM) impersonation level be set to Identify.
 
DCOM allows you to configure the ability of a client application to launch and access objects on remote computers and the local computer. This setting enables the caller identity to be checked on out-of-process and off-computer calls and enables MTS role-based security checking. If the default DCOM impersonation level is set to some other value, you can experience errors when you set up MTS using the MTS Explorer or running Microsoft Transaction Server applications. In these cases you will likely
see the error code 0x800706be reported in error dialog boxes.
 
WORKAROUND
==========
 
To work around this problem, follow these steps:
 
1. Run Dcomcnfg.exe.
 
2. Click the Default Properties tab.
 
3. The Default Impersonation Level should be set to Identify.
 
4. Backup the Microsoft Windows NT Option Pack configuration if
   necessary. This should not be necessary for a new installation. For more information on this topic, please refer to the online documentation.
 
5. Uninstall the Microsoft Windows NT Option Pack.
 
6. Install the Microsoft Windows NT Option Pack.

0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

785 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