Solved

COM+ Error 70: Permission denied

Posted on 2006-10-30
5
1,612 Views
Last Modified: 2007-12-19
Hi All,

 I wrote a COM+ server application and a client app, both in VB. When the component is installed on my computer (in component services) and I try to run my client app I get "Error 70: permission denied".

What can I do to resolve this problem?

Thanks in advance
0
Comment
Question by:negreteo
[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
5 Comments
 
LVL 4

Accepted Solution

by:
JRCSystems earned 250 total points
ID: 17838878
Not sure what OS you are using, but you probably need some version of DCOMCNFG ( win 2k / xp ).
In XP, you can still run the DCOMCNFG command, but its buried with Component Services.

Error 70 permission denied is without a doubt, the single largest paint DCOM/COM+ runs into.

You will probably also want to clear all event logs ( computer management ), and further inside Local Security Settings, Local Policies/Audit Policy, turn on logging for all failures so you can see what is failing.

That should help point you in the right direction.

Another Key: If the program works properly in development (i.e. start up VB twice, load the server and start it, then load the client, make sure its references point to the 1st runninng copy of VB, and run it.) then you have a issue with either TLBs, mismatched GUIDs in DLLs, or user does not have the security to start the task.

0
 
LVL 1

Assisted Solution

by:Clivous
Clivous earned 250 total points
ID: 17848540
Hi,

1. Run the tool DCOMCNFG and search your com+ component. Make sure the autorisation is fine ( set for the test the autorisation on everyone )
2. When u call the com+ component from some other component, make sure u use late binding.
    you must not lay some reference to the com+ component, but use the createobject routine. ( com+ components don't work in early binding. )

Good luck,
Hans
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

752 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