Solved

COM Error Access Denied 0x8004005

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel Error per WinZip Add-In 9 59
run cmd.exe remotely 5 42
prezi for presentation 2 44
Hyper-V Export VM failing / Checkpoint Issues 1 19
A few months ago I had an issue with LaserJet 1020 printer which was installed to XP and Windows 7.  It was installed to XP and working, but when I tried to connect from a Windows 7 PC, it would attempt connection and then fail.  Sometimes the Spool…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now