Solved

COM Error Access Denied 0x8004005

Posted on 1999-01-22
1
525 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
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…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

691 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