Solved

COM Error Access Denied 0x8004005

Posted on 1999-01-22
1
524 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
An article on effective troubleshooting
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
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.

733 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