Solved

COM Error Access Denied 0x8004005

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

Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

Join & Write a Comment

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

747 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

13 Experts available now in Live!

Get 1:1 Help Now