Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 15th, 2006, 10:35 AM
Authorized User
 
Join Date: Oct 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access is denied to a dll

Hi all,

I create a strong name dll in my machine. I have another project to reference to that strong name dll and durring runtime, I have this error. Does any body know why? and how to fix it?

Thanks,

Jdang

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

 
Old February 19th, 2006, 05:32 AM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you run the DCOMCNFG tool to configure security settings for the COM object?

From the command line run DCOMCNFG,
Select Component Services -> Computers -> My Computer -> DCOM Config

Locate your COM object,
select properties,
go to Security tab,
locate "Launch and Activation",
select "Customize",
select the edit button,
now make sure "local activation" is set to "allow"

Hope that helps..

- A.Kahtava





Similar Threads
Thread Thread Starter Forum Replies Last Post
401.3 Access denied due to Access Control List cforsyth .NET Framework 2.0 8 May 28th, 2009 01:56 PM
Access Denied tys MySQL 4 April 6th, 2007 08:31 AM
Permission Denied while creating dll haji_mb Beginning VB 6 1 March 23rd, 2005 01:49 PM
Permission denied in acessing dll files sobhamuktha VB Components 6 February 4th, 2005 08:17 AM
Access is Denied khautinh General .NET 1 March 26th, 2004 04:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.